Home » C Programming » File I/O » Question
  1. What will be the output of the following C code?
    #include <stdio.h>
    int main()
    {
    FILE *fp = stdout;
    int m;
    fprintf(fp, "%d ", 55);
    fflush(stdout);
    fprintf(stderr, "%d", 85);
    return 0;
    }
    1. Nothing
    2. 85 55
    3. Compilation Error
    4. 55 85
    5. 85
Correct Option: D

55 85



Your comments will be displayed only after manual approval.