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
What is the difference between char array and char pointer?
Can we access array using pointer in c language?
When a c file is executed there are many files that are automatically opened what are they files?
Describe how arrays can be passed to a user defined function
What is volatile variable in c?
Is Exception handling possible in c language?
Are pointers integers in c?
Where does the name "C" come from, anyway?
Is return a keyword in c?
Write a program to find the biggest number of three numbers in c?
a way in which a pointer stores the address of a pointer which stores the value of the target value a) reference b) allocation c) multiple indirection d) none
How can I swap two values without using a temporary?
How can I list all of the predefined identifiers?
How do you redirect a standard stream?
How do you define structure?