Which statement of switch can be compared to if else final statement
Answers
Answered by
1
Answer:
switch statement uses single expression for multiple choices. if-else statement test for equality as well as for logical expression. switch statement test only for equality. if statement evaluates integer, character, pointer or floating-point type or boolean type.
Mark as brainlist
Similar questions
Physics,
4 months ago
Political Science,
4 months ago
Computer Science,
4 months ago
Math,
8 months ago
Science,
1 year ago