Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

Is main a keyword in c?

1081


What are the 4 types of unions?

984


What do you mean by command line argument?

1097


What does *p++ do?

973


How can you determine the maximum value that a numeric variable can hold?

1148


What is the size of structure in c?

1092


Is malloc memset faster than calloc?

1015


How many types of arrays are there in c?

995


Can include files be nested? How many levels deep can include files be nested?

1083


Can you pass an entire structure to functions?

1075


What is the difference between if else and switchstatement

1837


What is the symbol indicated the c-preprocessor?

1162


When is a void pointer used?

1189


What is New modifiers?

1059


What is LINKED LIST? How can you access the last element in a linked list?

1015