Home » C Programming » Preprocessors » Question
  1. Comment on the output of the following C code.
    #include <stdio.h>
    #include "test.h"
    #include "test.h"
    int main()
    {
    //statements...
    }
    1. False
    2. True
    3. Depends on compiler
    4. Compilation Error
    5. None of these
Correct Option: D

Compilation Error

main.c:2:14: fatal error: test.h: No such file or directory
#include "test.h"
^~~~~~~~
compilation terminated.



Your comments will be displayed only after manual approval.