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 null in c?
Explain the difference between getch() and getche() in c?
What are identifiers and keywords in c?
Where is c used?
Are pointers integers in c?
What is keyword with example?
Why is c still so popular?
Calculate the weighted average of a list of n numbers using the formula xavg = f1x1+f2x2+ ….+ fnxn where the f’s are fractional weighting factors, i.e., 0<=fi<1, and f1+f2+….+fn = 1
What are the different types of control structures?
what are the program that using a two dimensional array that list the odd numbers and even numbers separately in a given 10 inputs values
Why C language is a procedural language?
Can stdout be forced to print somewhere other than the screen?
Why does not c have an exponentiation operator?
How do you print only part of a string?
Why we use conio h in c?