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

Result of the following program is
main()
{
int i=0;
for(i=0;i<20;i++)
{
switch(i)
case 0:i+=5;
case 1:i+=2;
case 5:i+=5;
default i+=4;
break;}
printf("%d,",i);
}
}
a)0,5,9,13,17
b)5,9,13,17
c)12,17,22
d)16,21
e)syntax error

Answer Posted / deepa

syntax error every case statement requires a break statement

Is This Answer Correct ?    7 Yes 32 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

The number of bytes of storage occupied by short, int and long are a) 2, 2 and 4 b) 2, 4 and 4 c) 4, 4 and 4 d) none

1246


When should volatile modifier be used?

1013


What does c mean in standard form?

1181


Is sizeof a keyword in c?

973


What are the benefits of organizational structure?

1029


Is it possible to pass an entire structure to functions?

998


Suggesting that there can be 62 seconds in a minute?

1049


what is the difference between north western polytechnique university and your applied colleges?? please give ur answers for this. :)

2412


How does pointer work in c?

1124


What is mean by Data Driven framework in QTP? Can any one answer me in details on this regard.

2260


What are the application of void data type in c?

1191


How can I do graphics in c?

1035


What is wrong in this statement?

1147


Why static is used in c?

1096


Why is main function so important?

1107