Q181
What will be the output of the following C code? #include int main() char *str = "hello, world"; char str1[15] = "hello wo 9"; strcpy(str, str1); printf("%s", str1);
A.
Compilation error
B.
Segmentation Fault
AnswerC.
hello, world
D.
hello, wo 9
Answer: Option B
Solution
Answer: Option B
No explanation is given for this question Let's Discuss on Board