what is the different between if-else and switch statment
(other than syntax)
Answer Posted / sanjay parmar sirsa
If-else
we depand the condition
if condition true then true block will be excuted
else
false block will be excuted
switch have number of choice we can excute any choice
Is This Answer Correct ? | 21 Yes | 6 No |
Post New Answer View All Answers
How can you tell whether a program was compiled using c versus c++?
What does a function declared as pascal do differently?
What is printf () in c?
hi send me sample aptitude papers of cts?
What is the size of array float a(10)?
What is the use of structure padding in c?
When should structures be passed by values or by references?
How can I invoke another program (a standalone executable, or an operating system command) from within a c program?
Tell me can the size of an array be declared at runtime?
What are the salient features of c languages?
How do I use strcmp?
What is d scanf?
What would happen to X in this expression: X += 15; (assuming the value of X is 5)
What are qualifiers and modifiers c?
how do you execute a c program in unix.