Examveda
Examveda

What will be the output of the following C code?
#include <stdio.h>
#define a 2
main()
{
    int r;
    #define a 5
    r=a*2;
    printf("%d",r);
}

A. 10

B. 4

C. 2

D. 5

Answer: Option A


This Question Belongs to C Program >> C Preprocessor

Join The Discussion

Related Questions on C Preprocessor