Examveda
Examveda

What will be the output of the following C code?
#include <stdio.h>
#define MIN 0);
#ifdef MIN
#define MAX 10
#endif
int main()
{
    printf("%d %d\n", MAX, MIN
    return 0;
}

A. 10 0

B. Compile time error due to illegal syntax for printf

C. Undefined behaviour

D. Compile time error due to illegal MIN value

Answer: Option A


This Question Belongs to C Program >> Function

Join The Discussion

Related Questions on Function