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
What is a stream water?
Why cant I open a file by its explicit path?
What is a pointer in c plus plus?
What is the explanation for cyclic nature of data types in c?
How #define works?
What is the difference between array and structure in c?
hi send me sample aptitude papers of cts?
When I tried to go into a security sites I am denied access and a message appeared saying 'applet not initialize'. How can I rectify this problem.
Explain how does flowchart help in writing a program?
What is an lvalue?
in programming languages a statement or part of a statement that specifies several different execution sequences a) constructs b) distructs c) executes d) none
What is c mainly used for?
What is the concatenation operator?
Differentiate between declaring a variable and defining a variable?
What does calloc stand for?