Home » C Programming » Preprocessors » Question
  1. What will be the output of the following C code?
    #include <stdio.h>
    int main()
    {
    int forth = 4, fifth = 5;
    #ifdef next
    forth = 5;
    fifth = 4;
    #endif
    printf("%d, %d", forth, fifth);
    }
    1. 4
    2. 5
    3. 4, 5
    4. 5, 4
    5. None of these
Correct Option: C

4, 5



Your comments will be displayed only after manual approval.