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 / ningappa
The above code returns a compiler error:
1.In C functions cannot be made inline.
2.A semi-colon is not expected after switch.
| Is This Answer Correct ? | 7 Yes | 0 No |
Post New Answer View All Answers
Is main a keyword in c?
What are the 4 types of unions?
What do you mean by command line argument?
What does *p++ do?
How can you determine the maximum value that a numeric variable can hold?
What is the size of structure in c?
Is malloc memset faster than calloc?
How many types of arrays are there in c?
Can include files be nested? How many levels deep can include files be nested?
Can you pass an entire structure to functions?
What is the difference between if else and switchstatement
What is the symbol indicated the c-preprocessor?
When is a void pointer used?
What is New modifiers?
What is LINKED LIST? How can you access the last element in a linked list?