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 / sanjay parmar sirsa

If-else
we depand the condition
if condition true then true block will be excuted
else
false block will be excuted
switch have number of choice we can excute any choice

Is This Answer Correct ?    21 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

swap 2 numbers without using third variable?

1141


What is meant by int main ()?

1213


What type is sizeof?

1044


How many parameters should a function have?

1200


Explain how can you avoid including a header more than once?

1096


How can I avoid the abort, retry, fail messages?

1140


What is the difference between c &c++?

1164


how can f be used for both float and double arguments in printf? Are not they different types?

1075


define string ?

1114


What does stand for?

1093


The % symbol has a special use in a printf statement. How would you place this character as part of the output on the screen?

1284


What language is windows 1.0 written?

1075


please explain clearly about execution of c program in detail,in which stage are the printf sacnf getting into exeecutable code

2185


What is register variable in c language?

1035


Is javascript written in c?

1071