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

Can a pointer be volatile in c?

980


How many types of functions are there in c?

1134


FILE *fp1,*fp2; fp1=fopen("one","w") fp2=fopen("one","w") fputc('A',fp1) fputc('B',fp2) fclose(fp1) fclose(fp2)} a.error b. c. d.

1741


Write a program in c to replace any vowel in a string with z?

1115


how do you execute a c program in unix.

1109


What is difference between far and near pointers?

1033


What is an lvalue?

1061


What are the 3 types of structures?

1025


Explain how do you list files in a directory?

1065


What is maximum size of array in c?

1032


What is difference between constant pointer and constant variable?

1295


what is the function of pragma directive in c?

1116


Linked list is a Linear or non linear explain if linear how it working as a non linear data structures

2168


What are the three constants used in c?

991


which is conditional construct a) if statement b) switch statement c) while/for d) goto

1215