What will be the output of the following C code?
#include<stdio.h>
#define max 20
main()
{
#ifndef max
#define min 10
#else
#define min 30
#endif
printf("%d",min);
}
#include<stdio.h>
#define max 20
main()
{
#ifndef max
#define min 10
#else
#define min 30
#endif
printf("%d",min);
}A. 10
B. 20
C. 30
D. error
Answer: Option C

Join The Discussion