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...

#include
main()
{
int i=1,j=2;
switch(i)
{
case 1: printf("GOOD");
break;
case j: printf("BAD");
break;
}
}

Answer Posted / subha raman

yeah..itz mainly syntax error..
there shud not be any declaration of variables..in
case "j"..it must be "case 2"only..

Is This Answer Correct ?    6 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is identifier in c?

1063


Is null always equal to 0(zero)?

1097


What is use of pointer?

1172


What is the c value paradox and how is it explained?

1107


What is the difference between variable declaration and variable definition in c?

1105


What are the types of data types and explain?

1132


What are the general description for loop statement and available loop types in c?

1169


Can 'this' pointer by used in the constructor?

1133


What is string function in c?

1050


Why is c faster?

1185


What is advantage of pointer in c?

1245


What is spark map function?

1209


Explain how many levels deep can include files be nested?

1124


How can I sort a linked list?

1086


How can I read in an object file and jump to locations in it?

1072