what is the different between if-else and switch statment
(other than syntax)
Answer Posted / chandra
in switch case we can tell the compiler that you can go
based on user choice
where as in if-else we can test the initial cond then we can
deside
| Is This Answer Correct ? | 3 Yes | 2 No |
Post New Answer View All Answers
how can use subset in c program and give more example
How can I find out how much free space is available on disk?
Why void main is used in c?
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
write a program that reads lines(using getline), converts each line to an integer using atoi, and computes the average of all the numbers read. also compute the standard deviation.
When should the register modifier be used? Does it really help?
How do I get a null pointer in my programs?
Explain bitwise shift operators?
The statement, int(*x[]) () what does in indicate?
When can a far pointer be used?
What is array of structure in c programming?
What is logical error?
hi, which software companys will take,if d candidate's % is jst 55%?
What is #include called?
Write a program to generate the Fibinocci Series