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

6

Is This Answer Correct ?    12 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What's the right way to use errno?

1112


What are the rules for the identifier?

1131


What is typeof in c?

975


What is abstract data structure in c?

1000


Explain goto?

1118


What does it mean when the linker says that _end is undefined?

1063


program to convert a integer to string in c language'

2421


What is preprocessor with example?

1018


Differentiate between new and malloc(), delete and free() ?

1154


Write a program to reverse a string.

1046


What should malloc() do? Return a null pointer or a pointer to 0 bytes?

1041


What is the difference between call by value and call by reference in c?

1135


What are the c keywords?

1170


Why is c called c?

985


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

2365