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 is a c token and types of c tokens?
Which is better pointer or array?
What does typeof return in c?
What is infinite loop?
How can I recover the file name given an open stream or file descriptor?
What is the purpose of type declarations?
Why can't I perform arithmetic on a void* pointer?
What functions are used in dynamic memory allocation in c?
Write the control statements in C language
What is the benefit of using #define to declare a constant?
How to define structures? ·
If i have an array 0 to 99 i.e,(Size 100) I place the values 1 to 100 randomly like a[0]=29,a[1]=56 upto array[99].. the values are only between 1 to 100. getting the array values by using scanf.. If i entered one wrong element value line a[56]=108. how can i find it.. and also how to find the missing value in 1 to 100.. and i want to replace the missing values.. any one of them know please post your answer..
Describe the steps to insert data into a singly linked list.
Explain built-in function?
Explain how does free() know explain how much memory to release?