what is the different between if-else and switch statment
(other than syntax)
Answer Posted / ailyn
Difference between switch - case and if - else is
we can't compare variables.
in the if - else, first the condition is verified,then it
comes to else whereas in the switch - case first it checks
the cases and then it switches to that particular case.
| Is This Answer Correct ? | 6 Yes | 1 No |
Post New Answer View All Answers
how can i access hard disk address(physical address)? are we access hard disk by using far,near or huge pointer? if yes then please explain.....
Can we access array using pointer in c language?
What should malloc(0) do?
Why do we write return 0 in c?
What is c preprocessor mean?
How do you search data in a data file using random access method?
what is the format specifier for printing a pointer value?
Write a program to print fibonacci series using recursion?
please explain every phase in the "SDLC" in the dotnet.
What is preprocessor with example?
What will be the outcome of the following conditional statement if the value of variable s is 10?
write a program to reverse a every alternetive words in a string in a place. EX: Input is "this is the line of text" Output should be "shit is eht line fo text" Please any one tell me code for that.
What is an lvalue?
The performance of an operation in several steps with each step using the output of the preceding step a) recursion b) search c) call by value d) call by reference
What is the difference between null pointer and wild pointer?