Switch (i)
i=1;
case 1
i++;
case 2
++i;
break;
case 3
--i;
Output of i after executing the program
Answer Posted / vinay
the value of i if we forget the mistake u done
it is i=2;
| Is This Answer Correct ? | 1 Yes | 3 No |
Post New Answer View All Answers
Differentiate between functions getch() and getche().
what does static variable mean?
What is a constant?
general for is %wd,f-d; in this system "w" means a) 'w' represent total width of digits b) 'w' represent width which includes the digits before,after decimal place and the decimal point c) 'w' represent width which includes the digits before only d) 'w' represent width after decimal place only
What are pointers? Why are they used?
Explain how do you determine a file’s attributes?
What is cohesion and coupling in c?
Tell me when is a void pointer used?
the real constant in c can be expressed in which of the following forms a) fractional form only b) exponential form only c) ascii form only d) both a and b
Explain why can’t constant values be used to define an array’s initial size?
What is enumerated data type in c?
What is static memory allocation? Explain
Differentiate Source Codes from Object Codes
What is the difference between void main and main in c?
What is the purpose of & in scanf?