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

What is a pointer variable in c language?

1044


any function have arguments one or more OR not . it is compulsary a) any function compulsary have one or more arguments b) any function did not have arguments. It is not compulsary c) it is optional it is not compulsary d) none of the above

1066


write a program fibonacci series and palindrome program in c

988


what is uses of .net

1688


How can you return multiple values from a function?

1063


Explain Function Pointer?

1111


How do you define structure?

1003


What are the features of c language?

1027


What is the difference between a string copy (strcpy) and a memory copy (memcpy)? When should each be used?

1069


What is 2 d array in c?

967


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

1058


How can I sort more data than will fit in memory?

1049


Can we assign integer value to char in c?

1172


Difference between Function to pointer and pointer to function

1032


Give a one-line C expression to test whether a number is a power of 2. [No loops allowed - it's a simple test.]

1035