Vidyalelo
C Programming · Q82

File Input Output

Programming · C Programming · question 82

Q82

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

A.
Compilation error
B.
45
Answer
C.
Nothing
D.
Depends on the standard

Answer: Option B

Solution

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