Home » C Programming » Error Handling » Question
  1. What will be the output of the following C code?
    #include <stdio.h>
    int main()
    {
    FILE *fp = stdout;
    stderr = fp;
    fprintf(stderr, "%s", "Interveiw Mania");
    }
    1. Undefined behaviour
    2. Garbage value
    3. Interveiw Mania
    4. Compilation Error
    5. None of these
Correct Option: C

Interveiw Mania



Your comments will be displayed only after manual approval.