Page 1 of 1

Comment on the output of the following C code. #include <stdio.h> int main() { int a = 1; switch (a)

Posted: Wed Jul 13, 2022 7:54 pm
by answerhappygod
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