GAT Subject
Engineering
Computer Science Civil Engineering Chemical Engineering Agricultural Engineering Mechanical Engineering Electronics and Communication
2. | Point out the error, if any in the program? | |
A. | Error: No case statement specified | |
B. | Error: No default specified | |
C. | No Error | |
D. | Error: infinite loop occurs | |
Answer: Option C | |
Explanation: | |
There can exists a switch statement, which has no case. |
|
Tutorial Link: |