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

answer is c 3

Is This Answer Correct ?    2 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is p in text message?

968


How will you write a code for accessing the length of an array without assigning it to another variable?

1033


praagnovation

2265


What are operators in c?

1012


What is structure of c program?

1142


What is the behavioral difference when include header file in double quotes (“”) and angular braces (<>)?

1319


Explain how can I prevent another program from modifying part of a file that I am modifying?

1072


how do you programme Carrier Sense Multiple Access

1957


How would you rename a function in C?

1029


Why functions are used in c?

1115


Does c have function or method?

983


What are the standard predefined macros?

1126


Explain what will the preprocessor do for a program?

1051


What is a stream water?

1197


Why is c platform dependent?

1074