Discussion Forum : C Miscellaneous
Question - Determine Output:
#include
void main()
{
char s[]={'a','b','c','n','c','\0'};
char *p, *str, *str1;
p=&s[3];
str=p;
str1=s;
printf("%c", ++*p + ++*str1-32);
}
Options:
A .  N
B .  P
C .  M
D .  None of These
Answer: Option C

Submit Your Solution Below and Earn Points !
Submit Your Solution hear:

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