Top

Discussion

What will be the output of the program ?

#include

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

 

  • A.peace
  • B.eace
  • C.ace
  • D.ce

Answer: D

No answer description available for this question.
 

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

Post your comment