Vidyalelo
C Programming · Q273

File Input Output

Programming · C Programming · question 273

Q273

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
Answer
B.
65 45
C.
65
D.
Compilation error

Answer: Option A

Solution

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