what is the different between if-else and switch statment
(other than syntax)
Answer Posted / thiyagu.p
Simply saying, IF-ELSE can have values based on constraints
where SWITCH can have values based on user choice.
Is This Answer Correct ? | 187 Yes | 42 No |
Post New Answer View All Answers
What is a pragma?
C program to find all possible outcomes of a dice?
any C program contains only one function, it must be a) void () b) main () c) message () d) abc ()
Explain what is the difference between a string copy (strcpy) and a memory copy (memcpy)? When should each be used?
Why we use break in c?
List some basic data types in c?
What is struct node in c?
Explain the properties of union. What is the size of a union variable
What is d scanf?
What is int main () in c?
What is string in c language?
Explain what are header files and explain what are its uses in c programming?
Do you know what are the properties of union in c?
What are the types of data types and explain?
What is an lvalue?