a) No error, output is 1111
b) No error, output is 1
c) Compile time error, no break statements
d) Compile time error, case label outside switch statement
Comment on the output of the following C code. #include <stdio.h> int main() { int a = 1; switch (a)
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
Comment on the output of the following C code. #include <stdio.h> int main() { int a = 1; switch (a)
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!