C
Programming and Technical
Programming
Program
What will be the output of the program ?
#include
#include
int main()
{
char str1[20] = "Hello", str2[20] = " World";
printf("%sn", strcpy(str2, strcat(str1, str2)));
return 0;
}
Options
1) Hello
2) World
3) Hello World
4) WorldHello
Read Solution (Total 2)
-
- Yes a structure can have a pointer, they are called as self referential structure
- 11 years agoHelpfull: Yes(0) No(1)
- 3) Hello World
- 8 years agoHelpfull: Yes(0) No(0)
C Other Question