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 / srinivasa reddy

Internally IF-ELSE implements Linear search, where as
SWITCH implements Binary search.

Is This Answer Correct ?    35 Yes 51 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are unions in c?

1028


"C" language developed by "Dennis Ritchie" at AT & T. his remarks are a) too general, too abstract b) could deal with only specific problems c) lost generality of BCPL and B restored d) no remarks

1095


What is the difference between char array and char pointer?

1046


i = 25;switch (i) {case 25: printf("The value is 25 ");case 30: printf("The value is 30 "); When the above statements are executed the output will be : a) The value is 25 b) The value is 30 c) The value is 25 The value is 30 d) none

1057


pierrot's divisor program using c or c++ code

2236


what are bit fields? What is the use of bit fields in a structure declaration?

2118


Do you know the use of fflush() function?

1059


Is it fine to write void main () or main () in c?

1025


what is uses of .net

1728


Is c pass by value or reference?

1033


hi to every one .. how to view table pool after creating the pooled table? plz help me.. if any knows abt this ..

1907


What is the value of a[3] if integer a[] = {5,4,3,2,1}?

1087


What is the time and space complexities of merge sort and when is it preferred over quick sort?

1072


What are the types of c language?

1025


What are the 4 types of functions?

1050