main()
{
int l=6;
switch(l)
{
default:l=l+2;
case 4:l=4;
case 5:l++;
break;
}
printf("%d",l);
}



main() { int l=6; switch(l) { default:l=l+2; case 4:l=4; case 5:l++; break; } printf("..

Answer / sudeshna

5

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More C Interview Questions

What does c in a circle mean?

0 Answers  


What are the difference between a free-standing and a hosted environment?

0 Answers   Infogain,


Given below are three different ways to print the character for ASCII code 88. Which is the correct way1) char c = 88; cout << c << " ";2) cout.put(88);3) cout << char(88) << " "; a) 1 b) 2 c) 3 d) constant

0 Answers  


tell me the full form of c?

2 Answers  


I have a varargs function which accepts a float parameter?

0 Answers  






wat are the two methods for swapping two numbers without using temp variable??

2 Answers  


Write a program to find the number of times that a given word(i.e. a short string) occurs in a sentence (i.e. a long string!). Read data from standard input. The first line is a single word, which is followed by general text on the second line. Read both up to a newline character, and insert a terminating null before processing. Typical output should be: The word is "the". The sentence is "the cat sat on the mat". The word occurs 2 times.

0 Answers  


Given an array of characters which form a sentence of words, give an efficient algorithm to reverse the order of the words (not characters) in it?

3 Answers  


What is declaration and definition in c?

0 Answers  


What compilation do?

7 Answers   Geometric Software, Infosys,


Why is void main used?

0 Answers  


Is c object oriented?

0 Answers  


Categories