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
What are unions in c?
"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
What is the difference between char array and char pointer?
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
pierrot's divisor program using c or c++ code
what are bit fields? What is the use of bit fields in a structure declaration?
Do you know the use of fflush() function?
Is it fine to write void main () or main () in c?
what is uses of .net
Is c pass by value or reference?
hi to every one .. how to view table pool after creating the pooled table? plz help me.. if any knows abt this ..
What is the value of a[3] if integer a[] = {5,4,3,2,1}?
What is the time and space complexities of merge sort and when is it preferred over quick sort?
What are the types of c language?
What are the 4 types of functions?