What will be the output of the following C code?
#include <stdio.h>
int main()
{
FILE *fp = stdin;
int n;
fprintf(fp, "%d", 45);
}
#include <stdio.h>
int main()
{
FILE *fp = stdin;
int n;
fprintf(fp, "%d", 45);
}A. Compilation error
B. 45
C. Nothing
D. Depends on the standard
Answer: Option C

Join The Discussion