Sail E0 Webinar
Question
What will be the output of the program ?
#include
#include
void main()
{
char str1[20] = "Hello", str2[20] = " World";
printf("%s", strcpy(str2, strcat(str1, str2)));
}
Options:
A .  Hello World
B .  World
C .  WorldHello
D .  Hello
E .  None of these
Answer: Option A

Submit Your Solution Below and Earn Points !
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers