what is the different between if-else and switch statment
(other than syntax)
Answer Posted / sivanandareddy y
Switch Case is used when you want to check whether a
certain variable is equal to a set of particular values and
theres a different task to do for each value.If-then-else
is can be used to check for...
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
How can I change the size of the dynamically allocated array?
What is string in c language?
Why header file is used in c?
Define circular linked list.
How do you do dynamic memory allocation in C applications?
What is the difference between array and pointer in c?
What is the meaning of 2d in c?
Is array a primitive data type in c?
Are negative numbers true in c?
Can we change the value of constant variable in c?
Can you return null in c?
Are the variables argc and argv are always local to main?
What does 3 mean in texting?
int i=3; this declaration tells the C compiler to a) reserve space in memory to hold the integer value b) associate the name i with this memory location c) store the value 3 at this location d) all the above
What is the difference between typedef and #define?