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

I have seen function declarations that look like this

987


What is getch () for?

1140


Without Computer networks, Computers will be half the use. Comment.

2241


Why void main is used in c?

991


What is pointers in c with example?

1016


Why is extern used in c?

1046


What is omp_num_threads?

1033


What does c mean in standard form?

1095


What is the use of define in c?

998


Is anything faster than c?

968


What is 'bus error'?

1084


What is the meaning of ?

988


What does stand for?

1041


What is typedf?

1063


what is the role you expect in software industry?

2081