what is the different between if-else and switch statment
(other than syntax)
Answer Posted / chandra
in switch case we can tell the compiler that you can go
based on user choice
where as in if-else we can test the initial cond then we can
deside
| Is This Answer Correct ? | 3 Yes | 2 No |
Post New Answer View All Answers
How pointer is different from array?
List some applications of c programming language?
What is the role of this pointer?
please give me a VIRTUSA sample palcement papers.... you will only send TECHNICAL SECTION..... that is help for me Advance Thanks........................
Why structure is used in c?
List some basic data types in c?
Can we access array using pointer in c language?
how to write optimum code to divide a 50 digit number with a 25 digit number??
How many levels of pointers can you have?
When is a “switch” statement preferable over an “if” statement?
What extern c means?
Explain about the constants which help in debugging?
Can you tell me how to check whether a linked list is circular?
Explain the priority queues?
How do you declare a variable that will hold string values?