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

using for loop sum 2 number of any 4 digit number in c language

2265


How pointers are declared?

911


What are the different types of errors?

1074


Why do we need a structure?

984


Explain heap and queue.

1015


What is an endless loop?

1234


What is #line used for?

991


Why we write conio h in c?

967


What is maximum size of array in c?

995


What is structure of c program?

1082


Write a program to identify if a given binary tree is balanced or not.

1094


What is a class c rental property?

1044


What are the types of pointers?

1036


`write a program to display the recomended action depends on a color of trafic light using nested if statments

2077


Can you define which header file to include at compile time?

985