Home » C Programming » Preprocessors » Question
  1. What will be the output of the following C code?
    #include <stdio.h>
    void fun();
    int main()
    {
    #define max 15
    fun();
    return 0;
    }
    void fun()
    {
    printf("%d\n", max * 15);
    }
    1. 15
    2. Compilation Error
    3. Garbage value
    4. 225
    5. None of these
Correct Option: D

225



Your comments will be displayed only after manual approval.