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
c program to compute AREA under integral
What is a function in c?
Explain how can I manipulate strings of multibyte characters?
List some basic data types in c?
What is build process in c?
When should I declare a function?
Write a program to identify if a given binary tree is balanced or not.
What is static and auto variables in c?
How does normalization of huge pointer works?
How do I use strcmp?
What is the benefit of using #define to declare a constant?
Explain what is a program flowchart and explain how does it help in writing a program?
What is a MAC Address?
What is the difference between declaring a variable and defining a variable?
What is null pointer constant?