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 is meant by global static? why we have to use static variable instead of Global variable

4 Answers   L&T,


Explain what are preprocessor directives?

0 Answers  


enum day = { jan = 1 ,feb=4, april, may} what is the value of may? a)4 b)5 c)6 d)11 e)none of the above

8 Answers   HCL, Wipro,


What is the process to generate random numbers in c programming language?

0 Answers  


How can this be legal c?

0 Answers  






In a byte, what is the maximum decimal number that you can accommodate?

0 Answers  


What is the size of enum in c?

0 Answers  


Write a program that receives as input a number omaadel-n-print, four digits.

0 Answers  


What is the advantage of c?

0 Answers  


where do we use structure pointer?

1 Answers  


1 1 1 1 2 1 1 3 3 1 1 4 6 4 1

1 Answers  


How will you allocate memory to a double pointer ?

2 Answers  


Categories