Home / C Programming / Strings :: Discussion

Discussion :: Strings

  1. What will be the output of the program ?

     #include
    
      int main() 
      { 
        static char mess[6][30] = {"Don't walk in front of me...",                                   
                                  "I may not follow;",                                 
                                  "Don't walk behind me...",                                 
                                  "Just walk beside me...",                                 
                                  "And be my friend." };        
      printf("%c, %c\n", *(mess[2]+9), *(*(mess+2)+9));
      return 0; 
    } 
    

  2. A.

    t, t

    B.

    k, k

    C.

    n, k

    D.

    m, f

    View Answer

    Workspace

    Answer : Option B

    Explanation :

    No answer description available for this question.


Be The First To Comment