Vidyalelo
C Programming · Q201

File Input Output

Programming · C Programming · question 201

Q201

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

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

Answer: Option C

Solution

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