Examveda
Examveda

What will be the output of the following C code?
#include<stdio.h>
#define ram 10
main()
{
    #ifdef ram
    #define ram 20
    #endif
    printf("%d",ram);
}

A. 10

B. 20

C. Error

D. 1020

Answer: Option B


This Question Belongs to C Program >> C Preprocessor

Join The Discussion

Related Questions on C Preprocessor