1.

What will be the output of the program ?

#include<stdio.h> int main()
{ static char s[25] = "The cocaine man"; int i=0; char ch; ch = s[++i]; printf("%c", ch); ch = s[i++]; printf("%c", ch); ch = i++[s]; printf("%c", ch); ch = ++i[s]; printf("%c", ch); return 0;
}

A. hhe!
B. he c
C. The c
D. Hhec
Answer» B. he c


Discussion

No Comment Found