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


Please Help Members By Posting Answers For Below Questions

Explain the difference between getch() and getche() in c?

566


Explain how do you use a pointer to a function?

641


What standard functions are available to manipulate strings?

565


simple program of graphics and their output display

1470


Explain what are run-time errors?

611






How to delete a node from linked list w/o using collectons?

2090


What do you mean by dynamic memory allocation in c?

653


What is unary operator?

661


What does the message "automatic aggregate intialization is an ansi feature" mean?

695


Explain high-order bytes.

677


What is a list in c?

622


What is the use of clrscr?

598


Explain why C language is procedural?

773


i have to apply for the rbi for the post of officers. i need to know abt the entrance questions whether it may be aps or techinical....

1526


What is wrong in this statement?

607