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 / madhu
As t = 3,it goes to case 3.But there is no break in that
case so it proceeds further down to default and c becomes 0.
| Is This Answer Correct ? | 7 Yes | 1 No |
Post New Answer View All Answers
What is the difference between fread and fwrite function?
Can we change the value of constant variable in c?
What is a pragma?
What are the 5 data types?
the constant value in the case label is followed by a a) semicolon b) colon c) braces d) none of the above
What is the use of parallelize in spark?
What is the use of a conditional inclusion statement in C?
When should a type cast not be used?
What is the explanation for cyclic nature of data types in c?
What is the heap in c?
Write a program that accept anumber in words
can anyone suggest some site name..where i can get some good data structure puzzles???
Explain how do you view the path?
Here is a neat trick for checking whether two strings are equal
What does struct node * mean?