f1()
{
f(3);}
f(int t)
{
switch(t);
{
case 2: c=3;
case 3: c=4;
case 4: c=5;
case 5: c=6;
default: c=0;}
value of c?

Answer Posted / vignesh1988i

c=6.... since no break statement

Is This Answer Correct ?    1 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

745


What is modeling?

647


What is the use of #include in c?

574


Can you please explain the difference between syntax vs logical error?

696


find out largest elemant of diagonalmatrix

1649






Where are local variables stored in c?

570


What could possibly be the problem if a valid function name such as tolower() is being reported by the C compiler as undefined?

746


What is an expression?

654


Difference between exit() and _exit() function?

655


What do you mean by dynamic memory allocation in c?

647


Write a program to know whether the input number is an armstrong number.

673


write a program to find the given number is prime or not

3843


Explain high-order bytes.

675


Explain the difference between malloc() and calloc() function?

599


Can a function be forced to be inline? Also, give a comparison between inline function and the C macro?

658