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

b is answer

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

write a programming in c to find the sum of all elements in an array through function.

2180


What is a header file?

1081


What is the argument of a function in c?

1053


What does double pointer mean in c?

1180


Can two or more operators such as and be combined in a single line of program code?

1375


What is the difference between a function and a method in c?

1085


What are variables and it what way is it different from constants?

1244


How can a program be made to print the name of a source file where an error occurs?

1226


What is difference between union and structure in c?

1166


What is a function simple definition?

1097


Explain the use of 'auto' keyword

1125


Explain how do you list a file’s date and time?

1041


What is the return type of sizeof?

1067


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

1276


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

2412