Home » C Programming » Pointers

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("\n"); return 0; }

← Previous Next →

Discussion & Comments

No comments yet. Be the first to comment!