Discussion :: Pointers
-
What will be the output of the program ?
#include int main() { char str1[] = "fresher"; char str2[] = "GATE"; char *s1 = str1, *s2=str2; while(*s1++ = *s2++) printf("%s", str1); printf("\n"); return 0; }
Answer : Option B
Explanation :
No answer description available for this question.
Be The First To Comment

Whatsapp
Facebook