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
What is the use of ?
How can I get back to the interactive keyboard if stdin is redirected?
What is %s and %d in c?
What are the different categories of functions in c?
Is there a way to compare two structure variables?
how can i write a program that prints out a box such that whenever i press any key8(coordinate number) on the keyboard, the box moves.
Draw a flowchart to produce a printed list of all the students over the age of 20 in a class .The input records contains the name and age of students. Assume a sentinel value of 99 for the age field of the trailer record
how could explain about job profile
Is file a keyword in c?
Differentiate fundamental data types and derived data types in C.
formula to convert 2500mmh2o into m3/hr
What is the size of a union variable?
Why is c still so popular?
What is an lvalue?
What is #pragma statements?