what is the different between if-else and switch statment
(other than syntax)
Answer Posted / sivanandareddy y
Switch Case is used when you want to check whether a
certain variable is equal to a set of particular values and
theres a different task to do for each value.If-then-else
is can be used to check for...
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Under what circumstances does a name clash occur?
Explain how do you print only part of a string?
Write a program to swap two numbers without using the third variable?
What is the difference between if else and switchstatement
Explain what happens if you free a pointer twice?
What is a char in c?
Should I use symbolic names like true and false for boolean constants, or plain 1 and 0?
What is const volatile variable in c?
Can we add pointers together?
we called a function and passed something do it we have always passed the "values" of variables to the called function. such functions calles are called a) calls by reference b) calls by value c) calls by zero d) none of the above
Difference between exit() and _exit() function?
What is operator promotion?
What is the c value paradox and how is it explained?
Design a program which assigns values to the array temperature. The program should then display the array with appropriate column and row headings.
Is that possible to add pointers to each other?