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
Differentiate abs() function from fabs() function.
Tell us something about keyword 'auto'.
#include
When should a type cast be used?
Explain why C language is procedural?
What is the explanation for prototype function in c?
Why is C language being considered a middle level language?
Explain the difference between getch() and getche() in c?
What is malloc() function?
What is abstract data structure in c?
a character or group of characters that defines a register,or a part of storage a) memory b) byte c) address d) linear list
#include show(int t,va_list ptr1) { int a,x,i; a=va_arg(ptr1,int) printf(" %d",a) } display(char) { int x; listptr; va_star(otr,s); n=va_arg(ptr,int); show(x,ptr); } main() { display("hello",4,12,13,14,44); }
How do you redirect a standard stream?
How can I find out the size of a file, prior to reading it in?
Why is c fast?