User Profile

Collapse

Profile Sidebar

Collapse
dasarisrikar
dasarisrikar
Last Activity: Jul 13 '07, 11:04 AM
Joined: Sep 25 '06
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • dasarisrikar
    replied to structure
    in C
    waiting for u r reply banfa.......... ...
    See more | Go to post

    Leave a comment:


  • dasarisrikar
    replied to structure
    in C
    yes banfa u r right ....but i hav no time i hav interview on day after tomorrow....so kindly help me.......
    pls provide me the answer........
    Thanks & Regards.
    See more | Go to post

    Leave a comment:


  • dasarisrikar
    started a topic structure
    in C

    structure

    Hi,
    I got selected in one written exam for a software job my next round is on c programming...t hey will ask to write c programs.....th ey sent a sample question for me...its like

    An Array named 'DATE_ARRAY' with 'n' elements is present in the
    memory. Each element in the array is a structure representing the
    'Date' information and its type definition is shown below:
    Type def struct Date_st
    ...
    See more | Go to post

  • dasarisrikar
    started a topic graphs and trees
    in C

    graphs and trees

    Hi,
    I am a basic learner in c and datastrustures. ....
    I want to know the conepts of trees, graphs...
    could u provide me a proper tutorial or a good link which discusses trees and graphs concepts in c language.......

    Thanks & Regards.
    See more | Go to post

  • dasarisrikar
    replied to post decrement in while loop
    in C
    thanks banfa....
    See more | Go to post

    Leave a comment:


  • Pointer is a variable which holds the address of another variable....... ..........
    int *p; which means...
    1)p is a variable which holds the address of integer variable
    (or)
    2)p is a pointer points to an integer

    so pointer hold the address of a variable accordingly.

    Data structure:
    the organization of data (and its storage allocations in a computer)
    in data structure pointers...
    See more | Go to post

    Leave a comment:


  • dasarisrikar
    started a topic post decrement in while loop
    in C

    post decrement in while loop

    I hav one doubt regarding post decriment,the code in c is as follows........ .....

    void main()
    {
    clrscr();
    while(i--!=6)
    i=i+2;
    printf("%d\n",i );
    getch();
    }

    I know the output is 5, but i read in a book dat the post incriment or decrement operators are evaluated after reaching semicolon(..... but in while condition,the ondition fails so it wont execute the next...
    See more | Go to post

  • dasarisrikar
    started a topic malloc
    in C

    malloc

    Hi,
    I hav one doubt....could u pls explainme...
    I hav defined the following code in c

    int **p;
    int *q;
    p=(int *)malloc(sizeof (int *));
    *p=(int *)malloc(sizeof (int));
    **p=12;
    q=*p;
    ....
    what s da sizeof p,*p,**p in bytes..........

    Thanks & Regards.
    See more | Go to post

  • dasarisrikar
    replied to nested printfs
    in C
    Thanku fnds....u r right.....
    See more | Go to post

    Leave a comment:


  • dasarisrikar
    started a topic nested printfs
    in C

    nested printfs

    Hi,i hav executed the following c code...the inner printf executes first to print some garbage value...why dont the outer printf prints anything.....
    I got only one garbage value ..y dont two garbage values...wt is the order of precedence in printf function and in nested printfs.

    the c code is:

    void main()
    {
    while(1)
    {

    if(printf("%d", printf("%d")))...
    See more | Go to post

  • dasarisrikar
    started a topic Static Function
    in C

    Static Function

    Hi,
    could u explain me the use of static storage class,if it used before a function.....
    like ...
    static add();
    here wts da static storage class does.....and like wise auto,extern,reg ister.
    I know the use of them f they r used before a variable...like
    static int a;
    I want about functions...
    and could u tell me a good link to get command on functions,point ers.
    Thanks & Regards.
    See more | Go to post

  • dasarisrikar
    replied to pointers and arrays
    in C
    waiting for your reply.....
    See more | Go to post

    Leave a comment:


  • dasarisrikar
    replied to pointers and arrays
    in C
    Thankyou BANFA....thanks for your reply.....i am getting new things and i got one more doubt..pls clarify it......

    you said....

    So what is the value of a in the question?
    well a is an array int a[2][3][2] so the expression a returns the value &a[0] which has type int (*)[3][2], this is a pointer to the first item in the array a[2] (&a[0]).

    my doubt is....
    How the type of a be int...
    See more | Go to post

    Leave a comment:


  • dasarisrikar
    replied to pointers and arrays
    in C
    i was asked this proble in an exam.....

    main()
    {
    int a[2][3][2]={{{2,4},{7,8}, {3,4}},{{2,2},{ 9,3},{3,4}}};
    printf("%u %u %u %d\n",a,*a,**a, ***a);
    printf("%u %u %u %d\n",a+1,*a+1, **a+1,***a+1);
    }

    could u explain the solution for above problem......

    Thanks & Regards
    See more | Go to post

    Leave a comment:


  • dasarisrikar
    replied to pointers and arrays
    in C
    Hello friend,
    I am a basic learner....i dint understand the words like
    .. a has type int (*)[3][2]
    a[0] has type int (*)[2]
    a[0][0] has type int *
    for the above question......
    actually what int (*) syntax mean...pls explain the above three statements meanings deeply........
    See more | Go to post

    Leave a comment:


  • dasarisrikar
    started a topic pointers and arrays
    in C

    pointers and arrays

    can anybody explain me the concept of multi dimensional arrays that deals with pointers in detail....

    i hav declared a 3 dimesional array like a[2][3][2]={{{2,4},{7,8}, {3,4}},{{2,2},{ 2,3},{3,4}}};

    then
    a,*a,**a,***a,a +1,*a+1,**a+1,* **a+1...etc what it means?

    can any body explain me how to represent arrays in pointer notation for 3 dimensional arrays
    ( like in one dimensional arrays &a[1]...
    See more | Go to post

  • dasarisrikar
    replied to help needed here
    in C
    help needed here

    pls explain....*(in t *)p=2;
    See more | Go to post

    Leave a comment:


  • dasarisrikar
    started a topic help needed here
    in C

    help needed here

    hello..can anybody help me..
    i cant understood the meaning of *(int *)p=2;
    so pls hepl me...wt it actully do....
    See more | Go to post
No activity results to display
Show More
Working...