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


Please Help Members By Posting Answers For Below Questions

Can we increase size of array in c?

542


any limit on the number of functions that might be present in a C program a) max 35 functions b) max 50 functions c) no limit d) none of the above

632


Write a C program in Fibonacci series.

635


What is structure padding and packing in c?

621


What is the function of multilevel pointer in c?

670






Can we access the array using a pointer in c language?

561


Should I learn data structures in c or python?

583


Does c have class?

613


a linearly ordered set of data elements that have the same structure and whose order is preserved in storage by using sequential allocation a) circular b) ordinary c) array d) linear list

631


What does a pointer variable always consist of?

665


What is the use of f in c?

559


How many types of sorting are there in c?

610


what are the different storage classes in c?

662


Tell me when would you use a pointer to a function?

607


Does c have circular shift operators?

731