Q122
What will be the output of the following C code? char str[] =”Good”; scanf(“%s”, str);
A.
compile error
B.
run-time error
C.
good
AnswerD.
logical error
Answer: Option C
Solution
Answer: Option C
No explanation is given for this question Let's Discuss on Board