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

in if else if one condition is satisfied then first
statement is execute else the 2nd statement.
While in switch their is multiple choice for selection

Is This Answer Correct ?    7 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can I implement a delay, or time a users response, with sub-second resolution?

1079


Why c is called top down?

1167


Why is not a pointer null after calling free? How unsafe is it to use (assign, compare) a pointer value after it is been freed?

1140


What is the size of enum in bytes?

1091


In C programming, how do you insert quote characters (‘ and “) into the output screen?

1535


Is c object oriented?

974


What is strcmp in c?

1128


How can I convert a number to a string?

1199


What is a stream water?

1225


main use of recursive function a) processing speed high b) reduce program length/reduce repeated statements c) if you do not, use iterative methods like, for, while or do-while d) all the above

1103


in linking some of os executables are linking name some of them

2143


What are header files in c?

1082


Why is not a pointer null after calling free?

1027


a linearly ordered set of data elements that have the same structure and whose order is preserved in storage by using sequential allocation a) circular b) ordinary c) array d) linear list

1065


How can I remove the leading spaces from a string?

1172