Switch (i)
i=1;
case 1
i++;
case 2
++i;
break;
case 3
--i;
Output of i after executing the program
Answer Posted / jack
the value of i that was initialized before the switch
statement remains unchanged as the switch statement does
not have flower braces.
| Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
which type of aspect you want from the student.
What are keywords in c with examples?
What is function and its example?
Is c++ based on c?
What is the code in while loop that returns the output of given code?
Why clrscr is used in c?
What is array of structure in c programming?
What is a structure and why it is used?
Why doesn't C support function overloading?
What is graph in c?
How can I invoke another program (a standalone executable, or an operating system command) from within a c program?
i have a written test for microland please give me test pattern
What is difference between function overloading and operator overloading?
write a program to convert a expression in polish notation(postfix) to inline(normal) something like make 723+* (2+3) x 7 (not sure) just check out its mainly printing expression in postfix form to infix.
What is the difference between typedef struct and struct?