Question

A switch statement is used to

A To use switching variable
B Switch between function in a programchar
C Switch from one variable to another variable
D To choose from multiple possibilities which may arise due to different values of a single variable
Answer & Explanation
Option: [D]