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 uint8 in c?
Explain high-order bytes.
write a program to generate address labels using structures?
How to get string length of given string in c?
Why c is called a middle level language?
What are pragmas and what are they good for?
Difference between MAC vs. IP Addressing
cavium networks written test pattern ..
What is the right type to use for boolean values in c?
What are the two types of structure?
Why c is called object oriented language?
Explain indirection?
4. main() { int c=- -2; printf("c=%d",c); }
if the area was hit by a virus and so the decrease in the population because of death was x/3 and the migration from other places increased a population by 2x then annually it had so many ppl. find our the population in the starting.
main() { int i = 10; printf(" %d %d %d ", ++i, i++, ++i); }