×

Multiple-Choice Questions

Web Technologies MCQs

Computer Science Subjects MCQs

Databases MCQs

Programming MCQs

Testing Software MCQs

Digital Marketing Subjects MCQs

Cloud Computing Softwares MCQs

AI/ML Subjects MCQs

Engineering Subjects MCQs

Office Related Programs MCQs

Management MCQs

More

Which of the following types of variables can be used in the Switch statement for case selection?

89. Which of the following types of variables can be used in the Switch statement for case selection?

  1. int, float, char
  2. int, char
  3. int, double
  4. Any fundamental type

Answer: A) int, float, char

Explanation:

We can use only int, char type variables in the switch statement for case selection.

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.