What will be the output of the program? #include<stdio.h> int main() { char str1[] = "India"; char str2[] = "CURIOUSTAB"; char *s1 = str1, *s2=str2; while(*s1++ = *s2++) printf("%s", str1); printf(" "); return 0; }

Correct Answer: BndiaBIdiaCURIOUSTABia

More Questions from Pointers

Discussion & Comments

No comments yet. Be the first to comment!
Join Discussion