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
Explain c preprocessor?
Explain enumerated types in c language?
how to build a exercise findig min number of e heap with list imlemented?
Explain data types & how many data types supported by c?
What does *p++ do? What does it point to?
write a program in C that prompts the user for today's date,tomorrow's date and display the results.Use structures for today's date,tomorrow's date and an array to hold the days for each month of the year.
Why & is used in scanf in c?
Explain the difference between #include "..." And #include <...> In c?
How do you convert a decimal number to its hexa-decimal equivalent.Give a C code to do the same
Design a program which assigns values to the array temperature. The program should then display the array with appropriate column and row headings.
How does sizeof know array size?
What is c language in simple words?
Find MAXIMUM of three distinct integers using a single C statement
main() { printf("hello"); fork(); }
Are the variables argc and argv are always local to main?