Which is true related to the switch statement?
A. A switch statement can only work for the quality of comparisons.
B. No two case labels in the same switch can have identical values.
C. If character constants are used in the switch statement, they are automatically converted to their equivalent ASCII codes.
D. All the above
Answer:D
Which is true related to the switch statement?
A. A switch statement can only work for the quality of comparisons. B. No two case labels in the same switch can have identical values. C. If character constants are used in the switch statement, they are automatically converted to their equivalent ASCII codes. D. All the above