Examveda
Examveda

What will be the output of the following C code?
#include <stdio.h>
#define SYSTEM 20
int main()
{
    int a = 20;
    #if SYSTEM == a
    printf("HELLO ");
    #endif
    #if SYSTEM == 20
    printf("WORLD\n");
    #endif
}

A. HELLO

B. WORLD

C. HELLO WORLD

D. No Output

Answer: Option B


This Question Belongs to C Program >> Function

Join The Discussion

Related Questions on Function