Top

Discussion

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;
}

 

  • A.t, t
  • B.k, k
  • C.n, k
  • D.m, f

Answer: B

No answer description available for this question.

No comment is present. Be the first to comment.
Loading…

Post your comment