Home / C Programming / Pointers :: Discussion

Discussion :: Pointers

  1. What will be the output of the program ?

    #include 
    
     int main() 
     {    
       static char *s[] = {"black", "white", "pink", "violet"};    
      char **ptr[] = {s+3, s+2, s+1, s}, ***p;      
      p = ptr;  
      ++p;   
      printf("%s", **p+1);   
      return 0; 
    } 
    

     

  2. A.

    ink

    B.

    ack

    C.

    ite

    D.

    let

    View Answer

    Workspace

    Answer : Option A

    Explanation :

    No answer description available for this question.


Be The First To Comment