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 / sivanandareddy y

Switch Case is used when you want to check whether a
certain variable is equal to a set of particular values and
theres a different task to do for each value.If-then-else
is can be used to check for...

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Under what circumstances does a name clash occur?

1279


Explain how do you print only part of a string?

1280


Write a program to swap two numbers without using the third variable?

1121


What is the difference between if else and switchstatement

2008


Explain what happens if you free a pointer twice?

1139


What is a char in c?

1042


Should I use symbolic names like true and false for boolean constants, or plain 1 and 0?

1131


What is const volatile variable in c?

1105


Can we add pointers together?

1118


we called a function and passed something do it we have always passed the "values" of variables to the called function. such functions calles are called a) calls by reference b) calls by value c) calls by zero d) none of the above

1235


Difference between exit() and _exit() function?

1179


What is operator promotion?

1132


What is the c value paradox and how is it explained?

1110


Design a program which assigns values to the array temperature. The program should then display the array with appropriate column and row headings.

2368


Is that possible to add pointers to each other?

1429