what is the different between if-else and switch statment
(other than syntax)
Answer Posted / ahmed
in if else if one condition is satisfied then first
statement is execute else the 2nd statement.
While in switch their is multiple choice for selection
| Is This Answer Correct ? | 7 Yes | 7 No |
Post New Answer View All Answers
How can I implement a delay, or time a users response, with sub-second resolution?
Why c is called top down?
Why is not a pointer null after calling free? How unsafe is it to use (assign, compare) a pointer value after it is been freed?
What is the size of enum in bytes?
In C programming, how do you insert quote characters (‘ and “) into the output screen?
Is c object oriented?
What is strcmp in c?
How can I convert a number to a string?
What is a stream water?
main use of recursive function a) processing speed high b) reduce program length/reduce repeated statements c) if you do not, use iterative methods like, for, while or do-while d) all the above
in linking some of os executables are linking name some of them
What are header files in c?
Why is not a pointer null after calling free?
a linearly ordered set of data elements that have the same structure and whose order is preserved in storage by using sequential allocation a) circular b) ordinary c) array d) linear list
How can I remove the leading spaces from a string?