Examveda
Examveda

What will be the output of the following C code?
#include<stdio.h>
void f()
{
    #define sf 100
    printf("%d",sf);
}
int main()
{
    #define sf 99;
    f();
    printf("%d",sf);
}

A. error

B. 100

C. 99

D. 10099

Answer: Option A


This Question Belongs to C Program >> C Preprocessor

Join The Discussion

Related Questions on C Preprocessor