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
What is a pointer variable in c language?
any function have arguments one or more OR not . it is compulsary a) any function compulsary have one or more arguments b) any function did not have arguments. It is not compulsary c) it is optional it is not compulsary d) none of the above
write a program fibonacci series and palindrome program in c
what is uses of .net
How can you return multiple values from a function?
Explain Function Pointer?
How do you define structure?
What are the features of c language?
What is the difference between a string copy (strcpy) and a memory copy (memcpy)? When should each be used?
What is 2 d array in c?
How do you convert a decimal number to its hexa-decimal equivalent.Give a C code to do the same
How can I sort more data than will fit in memory?
Can we assign integer value to char in c?
Difference between Function to pointer and pointer to function
Give a one-line C expression to test whether a number is a power of 2. [No loops allowed - it's a simple test.]