C Programming :: C Preprocessor - Discussion
Home > C Programming > C Preprocessor > MCQs Questions Discussion
10 / 34
What will be output of the following "c" code?
#include<stdio.h>
#if something == 0
int some=0;
#endif
void main()
{
int thing = 0;
printf("%d %d\n", some ,thing);
}
#include<stdio.h>
#if something == 0
int some=0;
#endif
void main()
{
int thing = 0;
printf("%d %d\n", some ,thing);
}
ACompiler error : undefined symbol some
B0 0
CGarbage Value
DNone of these
Answer: Option (Login/Signup)
Show Explanation
Asked In ::
No Discussion on this question yet!