Home / C Programming / Pointers :: Discussion

Discussion :: Pointers

  1. What will be the output of the program If the integer is 4bytes long?

    #include 
     int main()
     {
         int ***r, **q, *p, i=8;  
         p = &i;    
         q = &p;   
         r = &q;    
        printf("%d, %d, %d\n", *p, **q, ***r);     
        return 0;
     } 
    

  2. A.

    8, 8, 8

    B.

    4000, 4002, 4004

    C.

    4000, 4004, 4008

    D.

    4000, 4008, 4016

    View Answer

    Workspace

    Answer : Option A

    Explanation :

    No answer description available for this question.


Be The First To Comment