Switch (i)
i=1;
case 1
i++;
case 2
++i;
break;
case 3
--i;
Output of i after executing the program

Answer Posted / ramesh

i as it is

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the benefit of using #define to declare a constant?

607


What does p mean in physics?

583


How can you tell whether a program was compiled using c versus c++?

619


Explain what is the benefit of using #define to declare a constant?

608


What is chain pointer in c?

603






Are the expressions * ptr ++ and ++ * ptr same?

669


Is using exit() the same as using return?

679


illustrate the use of address operator and dereferencing operator with the help of a program guys plzzz help for this question

1584


What are predefined functions in c?

568


What is the -> in c?

585


Describe the modifier in c?

603


What is the difference between the local variable and global variable in c?

529


What is the most efficient way to count the number of bits which are set in an integer?

591


What is the need of structure in c?

566


what will be maximum number of comparisons when number of elements are given?

1410