main()
{
int i=3;
switch(i)
{
default:printf("zero");
case 1: printf("one");
break;
case 2:printf("two");
break;
case 3: printf("three");
break;
}
}
Answer Posted / susie
Answer : :
three
Explanation :
The default case can be placed anywhere inside
the loop. It is executed only when all other cases doesn't
match.
| Is This Answer Correct ? | 18 Yes | 3 No |
Post New Answer View All Answers
Sir... please give some important coding questions asked by product companies..
Cluster head selection in Wireless Sensor Network using C programming language.
What is full form of PEPSI
How to palindrom string in c language?
why do you use macros? Explain a situation where you had to incorporate macros in your proc report? use a simple instream data example with code ?
create a C-code that will display the total fare of a passenger of a taxi if the driver press enter,the timer will stop. Every 10 counts is 2 pesos. Initial value is 25.00
Set up procedure for generating a wire frame display of a polyhedron with the hidden edges of the object drawn with dashed lines
Develop a routine to reflect an object about an arbitrarily selected plane
why nlogn is the lower limit of any sort algorithm?
Write a Program in 'C' To Insert a Unique Number Only. (Hint: Just Like a Primary Key Numbers In Database.) Please Some One Suggest Me a Better Solution for This question ??
how to create a 3x3 two dimensional array that will give you the sums on the left and bottom columns
write a c program to input initial & final time in the format hh:mm and find the time intervel between them? Ex inputs are initial 06:30 final 00:05 and 23:22 final 22.30
How do you verify if the two sentences/phrases input is an anagram using predefined functions in string.h and by using arrays?
#include
can you use proc sql to manpulate a data set or would u prefer to use proc report ? if so why ? make up an example and explain in detail