Q285
What will be the output of the following C code? #include int main() char buf[12]; stderr = stdin; fscanf(stderr, "%s", buf); printf("%s ", buf);
A.
Compilation error
B.
Undefined behaviour
C.
Whatever user types
AnswerD.
None of the mentioned
Answer: Option C
Solution
Answer: Option C
No explanation is given for this question Let's Discuss on Board