Q. When the switch statement matches the expression with the given labels, how is the comparison done?

  • (A) Both the datatype and the result of the expression are compared.
  • (B) Only the value of the expression is compared.
  • (C) Only the datatype of the expression is compared.
  • (D) None of the above.
πŸ’¬ Discuss
βœ… Correct Answer: (A) Both the datatype and the result of the expression are compared.

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
328
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Admin
Publisher
πŸ“ˆ
88%
Success Rate