what is the different between if-else and switch statment
(other than syntax)
Answer Posted / subbu
Basically while coding developers prefer Switch rather than
If-Else.
But inturn switch gets transferred to IF-ELSe format during
compilation.
| Is This Answer Correct ? | 31 Yes | 87 No |
Post New Answer View All Answers
What are the different types of linkage exist in c?
Is it better to use a macro or a function?
How can I change their mode to binary?
What are two dimensional arrays alternatively called as?
What is static and auto variables in c?
write a program to find the given number is prime or not
Explain the difference between malloc() and calloc() in c?
Tell us the use of fflush() function in c language?
What is dangling pointer in c?
write a sorting prgm to sort 50 nos and sum them and also remove all the occurrences of 15 and print it?
What are the advantages of using Unions?
When should a type cast not be used?
Given a valid 24 hour format time find the combination of the value and write a program ,do not hard the value and if any other inputs provided should work with the logic implemented Input: 11:30 Output: 13:10 Input: 18:25 Output: 21:58
What is meant by initialization and how we initialize a variable?
What is ## preprocessor operator in c?