Home » C Programming » Preprocessors » Question
  1. What will be the output of the following C code?
    #include <stdio.h>
    #define system 25
    int main()
    {
    int n = 25;
    #if system == n
    printf("Interview ");
    #endif
    #if system == 25
    printf("Mania\n");
    #endif
    }
    1. Interview
    2. Interview Mania
    3. Mania
    4. Compilation Error
    5. None of these
Correct Option: C

Mania



Your comments will be displayed only after manual approval.