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

When should a far pointer be used?

607


Explain what is #line used for?

610


What is dynamic memory allocation?

812


What is the correct code to have following output in c using nested for loop?

615


how can i write a program that prints out a box such that whenever i press any key8(coordinate number) on the keyboard, the box moves.

1215






7-Given an index k, return the kth row of the Pascal's triangle. For example, when k = 3, the row is [1,3,3,1]. For reference look at the following standard pascal’s triangle.

2227


What is maximum size of array in c?

587


A c program to display count values from 0 to 100 and flash each digit for a secong.reset the counter after it reaches 100.use for loop,. pls guys hepl me.. :(

1746


write a proram to reverse the string using switch case?

2473


What are dangling pointers in c?

650


What is getch() function?

654


How are Structure passing and returning implemented by the complier?

717


Can a file other than a .h file be included with #include?

688


Why do we use main function?

643


Explain what are the different file extensions involved when programming in c?

639