1.

What will be the output of the following C code?
 #include <stdio.h>
int main()
{
char buff[25];
stderr = stdin;
fscanf(stderr, "%s", buff);
printf("%s n", buff);
}

A. Whatever user types
B. Compilation error
C. Undefined behaviour
D. Nothing
E. None of these
Answer» B. Compilation error


Discussion

No Comment Found

Related MCQs