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

consider the following program sigment
int n,sum=1;
switch(n) {
case 2:sum=sum+2;
case 3:sum*=2;
break;
default:sum=0;}
if n=2, what is the value of sum
a.0
b.6
c.3
d.none

Answer Posted / guest

6

Is This Answer Correct ?    19 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are conditional operators in C?

1050


What is an array in c?

1004


How can I determine whether a machines byte order is big-endian or little-endian?

1007


How do you print an address?

1215


Are comments included during the compilation stage and placed in the EXE file as well?

1031


formula to convert 2500mmh2o into m3/hr

943


What is malloc calloc and realloc in c?

1220


How can I make sure that my program is the only one accessing a file?

1195


what are enumerations in C

1110


What is 'bus error'?

1094


What is a stream?

1079


Why is a semicolon (;) put at the end of every program statement?

1032


Difference between goto, long jmp() and setjmp()?

1126


What is sizeof return in c?

988


What is the difference between memcpy and memmove?

969