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 / poornima

Initially, switch statement is ended with semicolon.so
cases will not be alone without switch.It is compilation
error.
If semicolon is not there in switch statement answer is
zero.

Is This Answer Correct ?    6 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is c still used?

1101


What is the difference between local variable and global variable in c?

1294


What is the purpose of sprintf() function?

1189


What is the use of pragma in embedded c?

1109


What are multidimensional arrays?

1175


Explain the term printf() and scanf() used in c language?

1100


What is the 'named constructor idiom'?

1153


What are structure members?

1147


What are the scope of static variables?

1258


What does == mean in texting?

1396


What is the difference between the local variable and global variable in c?

1018


What is cohesion in c?

1029


How to compare array with pointer in c?

1170


Define and explain about ! Operator?

1048


What is bubble sort in c?

1107