Home » C Programming » Control Instructions

Point out the error, if any in the program. #include int main() { int a = 10; switch(a) { } printf("This is c program."); return 0; }

Correct Answer: No Error

Explanation:

There can exists a switch statement, which has no case.

← Previous Question Next Question→

More Questions from Control Instructions

Discussion & Comments

No comments yet. Be the first to comment!
Join Discussion