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 / girish patidar

switch can't check all cases but goto directly
on the perticular case but if checkes all case and verify
condition then execute.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain what is the use of a semicolon (;) at the end of every program statement?

1186


Explain b+ tree?

1009


A character flag or control mechanism that delineates one data item from another a) variable b) constant c) delimiter d) call by reference

1046


How can you tell whether a program was compiled using c versus c++?

1047


Can the sizeof operator be used to tell the size of an array passed to a function?

1060


What is variables in c?

985


What do you understand by friend-functions? How are they used?

1160


How do you convert a decimal number to its hexa-decimal equivalent.Give a C code to do the same

1056


What is typeof in c?

957


What is the use of gets and puts?

976


What are nested functions in c?

979


What is a static variable in c?

1069


State the difference between x3 and x[3].

1054


How to establish connection with oracle database software from c language?

2143


Do variables need to be initialized?

995