Home » C Programming » Preprocessors » Question
  1. What will be the output of the following C code?
    #include <stdio.h>
    #define MINIMUM 20
    #if MINIMUM
    #define MAXIMUM 100
    #endif
    int main()
    {
    printf("%d %d\n", MAXIMUM, MINIMUM);
    return 0;
    }
    1. MAXIMUM
    2. MINIMUM
    3. 20
    4. 100
    5. 100 20
Correct Option: E

100 20



Your comments will be displayed only after manual approval.