what is the different between if-else and switch statment
(other than syntax)
Answer Posted / sherin
There are some things that you simply cannot do with a
switch. These are:
A float expression cannot be tested using a switch
Cases can never have variable expressions (for example it is
wrong to say case a +3 : )
Multiple cases cannot use same expressions.
Is This Answer Correct ? | 17 Yes | 7 No |
Post New Answer View All Answers
Explain the difference between null pointer and void pointer.
What is %g in c?
to find the closest pair
Which operators cannot be overloaded a) Sizeof b) .* c) :: d) all of the above
Which is best linux os?
Why c is called top down?
Explain the concept and use of type void.
Device an algorithm for weiler-atherton polygon clipping, where the clipping window can be any specified polygon
How to declare pointer variables?
What is echo in c programming?
Is malloc memset faster than calloc?
what type of questions arrive in interview over c programming?
Differentiate Source Codes from Object Codes
What is the return type of sizeof?
Define the scope of static variables.