what is the different between if-else and switch statment
(other than syntax)
Answer Posted / subbu
Basically while coding developers prefer Switch rather than
If-Else.
But inturn switch gets transferred to IF-ELSe format during
compilation.
| Is This Answer Correct ? | 31 Yes | 87 No |
Post New Answer View All Answers
Why & is used in scanf in c?
Explain what is #line used for?
Which is the best website to learn c programming?
What is the use of sizeof?
When do we get logical errors?
how to print electricity bill according to following charges first 100 units -1rs per unit for next 200 units-1.50 rs per unit without using conditions
What is wrong with this program statement? void = 10;
What is the difference between procedural and functional programming?
What is a structure and why it is used?
console I/O functions means a) the I/O operations done on disk b) the I/O operations done in all parts c) the input given through keyboard is displayed VDU screen d) none of the above
What the advantages of using Unions?
What the different types of arrays in c?
Explain the term printf() and scanf() used in c language?
How important is structure in life?
What is auto keyword in c?