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
How to compare array with pointer in c?
Explain #pragma statements.
What is the difference between typedef and #define?
How many types of operators are there in c?
What does emoji p mean?
What’s a signal? Explain what do I use signals for?
What is an identifier?
What is local and global variable in c?
What are identifiers c?
What is mean by Data Driven framework in QTP? Can any one answer me in details on this regard.
Explain how do you print only part of a string?
Place the #include statement must be written in the program?
what is the c source code for the below output? 10 10 10 10 10 10 10 10 10 10 9 9 7 6 6 6 6 6 6 9 7 5 9 7 3 2 2 5 9 7 3 1 5 9 7 3 5 9 7 4 4 4 4 5 9 7 8 8 8 8 8 8 8 8 9
What are external variables in c?
Which driver is a pure java driver