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 / shruti

Yeah value of c becomes 0 at the end of the program..

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are derived data types in c?

610


write a program to copy the string using switch case?

2401


Explain how can you check to see whether a symbol is defined?

661


while loop contains parts a) initialisation, evalution of an expression,increment /decrement b) initialisation, increment/decrement c) condition evalution d) none of the above

740


Write a program to implement queue.

666






What is header file in c?

604


What is a struct c#?

601


What does stand for?

596


How can I prevent another program from modifying part of a file that I am modifying?

614


What is const volatile variable in c?

577


Ow can I insert or delete a line (or record) in the middle of a file?

574


What is the correct declaration of main?

679


can we have joblib in a proc ?

1655


Which is better malloc or calloc?

651


How many parameters should a function have?

668