Home / C Programming / Pointers :: Discussion

Discussion :: Pointers

  1. What will be the output of the program ?

    #include 
     int main()
     {
         char str[] = "peace";  
         char *s = str;     
         printf("%s\n", s++ +3);     
         return 0; 
     } 

     

  2. A.

    peace

    B.

    eace

    C.

    ace

    D.

    ce

    View Answer

    Workspace

    Answer : Option D

    Explanation :

    No answer description available for this question.


Be The First To Comment