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

Why are some ANSI/ISO Standard library routines showing up as undefined, even though I've got an ANSI compiler?

1181


What are the 4 types of programming language?

1192


Explain null pointer.

1195


Explain the Difference between the New and Malloc keyword.

1189


Why do some versions of toupper act strangely if given an upper-case letter?

1115


How do you print only part of a string?

1071


What is the difference between malloc calloc and realloc in c?

1190


What is selection sort in c?

1176


What is return in c programming?

1022


What does the c preprocessor do?

1158


Which of the following operators is incorrect and why? ( >=, <=, <>, ==)

1227


What do you mean by Recursion Function?

1179


What does the c in ctime mean?

1161


What are the c keywords?

1255


what is event driven software and what is procedural driven software?

2621