Switch statement accepts
a) int
b) char
c) long
d) All of the above
Answers
Answered by
22
the correct answer is D
Answered by
1
Switch statement accepts (d) All of the above.
Definition of Switch statement;
Switch Statement- changes the control flow of program through map and search.
Features of Switch statement;
- Switch Statement include multiple statements, even the random order is also accepted.
- It evaluates the expression and matching expression of a value that accepts the statement in any form.
- It has a fixed depth which allows data to implement faster.
- The data are easy to used within the faster power.
Therefore, Switch Statement are used for controlling flow with faster power execution.
Similar questions