what is the different between if-else and switch statment
(other than syntax)
Answer Posted / sujoy dutta
we can use all varriables within if else.but we can't use
all verriables within switch case.example :-float and
String we can't use within switch case.
| Is This Answer Correct ? | 17 Yes | 7 No |
Post New Answer View All Answers
What is the sizeof () operator?
Explain modulus operator.
How to write a code for reverse of string without using string functions?
What do the functions atoi(), itoa() and gcvt() do?
In which header file is the null macro defined?
please give me a VIRTUSA sample palcement papers.... you will only send TECHNICAL SECTION..... that is help for me Advance Thanks........................
What is the equivalent code of the following statement in WHILE LOOP format?
What does struct node * mean?
Does free set pointer to null?
What are different types of variables in c?
while loop contains parts a) initialisation, evalution of an expression,increment /decrement b) initialisation, increment/decrement c) condition evalution d) none of the above
What is %g in c?
Can you please explain the difference between strcpy() and memcpy() function?
why use "return" statement a) on executing the return statement it immediately transfers the control back to the calling program b) it returns the value present in the parentheses return, to the calling program c) a & b d) none of the above
How #define works?