1.

What will be the output of the program ?

#include<stdio.h>
#include<string.h> int main()
{ char str1[20] = "Hello", str2[20] = " World"; printf("%s n", strcpy(str2, strcat(str1, str2))); return 0;
}

A. Hello
B. World
C. Hello World
D. WorldHello
Answer» D. WorldHello


Discussion

No Comment Found