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
What is a example of a variable?
How can you tell whether two strings are the same?
What is the behavioral difference when include header file in double quotes (“”) and angular braces (<>)?
Where static variables are stored in memory in c?
Why does everyone say not to use scanf? What should I use instead?
What is volatile keyword in c?
What is getch c?
diff between exptected result and requirement?
how to capitalise first letter of each word in a given string?
What is pointer and structure in c?
Why is c called a structured programming language?
What are volatile variables in c?
What is non linear data structure in c?
Here is a good puzzle: how do you write a program which produces its own source code as output?
Is main a keyword in c?