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

What is a struct c#?

1061


What is a volatile keyword in c?

1166


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

1080


Why can arithmetic operations not be performed on void pointers?

1053


Explain about C function prototype?

1106


What is structure padding in c?

1140


what are enumerations in C

1168


What are the 4 data types?

1027


Explain how can I make sure that my program is the only one accessing a file?

1229


How can I get back to the interactive keyboard if stdin is redirected?

1196


What is type qualifiers?

1142


Differentiate between null and void pointers.

1182


What is the use of the function in c?

1026


What is unsigned int in c?

1010


What is the right type to use for boolean values in c? Is there a standard type?

1020