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

110 10



Your comments will be displayed only after manual approval.