1.

Point out the error in the program

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

A. Error: unexpected end of file because there is no matching
B. <i class="C-code">#endif</i>
C. The number is odd
D. Garbage values
E. None of above
Answer» B. <i class="C-code">#endif</i>


Discussion

No Comment Found