Sail E0 Webinar
Question


What will be the output of the program ?


#include<stdio.h>
int main()
{
char str[] = "peace";
char *s = str;
printf("%s\n", s++ +3);
return 0;
}
Options:
A .  peace
B .  eace
C .  ace
D .  ce
Answer: Option D

No answer description available for this question. 



Was this answer helpful ?
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers