1.

What is the output of this C code? #include int main() { char str[11] = "hello"; char *str1 = "world"; strcat(str, str1); printf("%s %d", str, str[10]); }

A. helloworld 0
B. helloworld anyvalue
C. worldhello 0
D. Segmentation fault/code crash
Answer» B. helloworld anyvalue


Discussion

No Comment Found