Q:

Find out the Output #include int main() { int i; #if A printf("Enter any number:"); scanf("%d", &i); #elif B printf("The number is odd"); return 0; }

0

Find out the Output

#include int main() { int i; #if A printf("Enter any number:"); scanf("%d", &i); #elif B printf("The number is odd"); return 0; }


  1. Garbage values
  2. The number is odd
  3. Error: unexpected end of file because there is no matching #endif
  4. None of the above

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

Correct Answer:

Error: unexpected end of file because there is no matching #endif

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

C Programming Multiple Choice Questions And Answers

This question belongs to these collections

Similar questions


need a help?


find thousands of online teachers now
Spot The Error... >>
<< Find out the Output int main() { unsigned int i=65...