Vidyalelo
C Programming · Q268

File Input Output

Programming · C Programming · question 268

Q268

What will be the output of the following C code? #include int main() FILE *fp = stdout; int n; fprintf(fp, "%d ", 45); fprintf(stderr, "%d ", 65); return 0;

A.
45 65
B.
65 45
Answer
C.
65
D.
Compilation error

Answer: Option B

Solution

Answer: Option B
No explanation is given for this question Let's Discuss on Board