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...

what is the different between if-else and switch statment
(other than syntax)

Answer Posted / thiyagu.p

Simply saying, IF-ELSE can have values based on constraints
where SWITCH can have values based on user choice.

Is This Answer Correct ?    187 Yes 42 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the red-black trees?

1055


Where static variables are stored in c?

1044


WRITE A CODE IN C TO SEARCH A FILE FROM NOTEPAD FILE.

2404


How many parameters should a function have?

1130


What do you understand by normalization of pointers?

1008


What does == mean in texting?

1216


What is the size of structure pointer in c?

1019


What does a pointer variable always consist of?

1045


What is mean by data types in c?

969


What would the following code segment printint k = 8;docout << "k = " << k << " ";while k++ < 5; a) 13 b) 5 c) 8 d) pointers

1198


What is an identifier?

979


What are different types of pointers?

1012


what is stack , heap ,code segment,and data segment

2638


What is #include stdio h?

1064


write a c program to find the sum of five entered numbers using an array named number

2078