1.

What will be the output of the program ?

#include<stdio.h> int main()
{ char str1[] = "India"; char str2[] = "BIX"; char *s1 = str1, *s2=str2; while(*s1++ = *s2++) printf("%s", str1); printf(" n"); return 0;
}

A. IndiaBIX
B. BndiaBIdiaBIXia
C. India
D. (null)
Answer» C. India


Discussion

No Comment Found