Home » C Programming » Preprocessors » Question
  1. Comment on the output of the following C code.
     #include <stdio.h>
    #define num 200);
    int main()
    {
    printf("%d\n", num
    }
    1. Garbage value
    2. Compile time error, there are no open braces in #define
    3. 200
    4. Compile time error, the printf braces aren’t closed
    5. None of these
Correct Option: C

200



Your comments will be displayed only after manual approval.