Which of the following statements about the switch statement is false?
a. You can use Strings in a switch statement’s controlling expression.
b. You can use a String in a switch statement's case label.
c. You can use a comma-separated list of Strings in a switch statement’s case label.
d. You cannot use a String in a switch statement’s default case label.
c. You can use a comma-separated list of Strings in a switch statement’s case label.
You might also like to view...
What is the output of the statement
cout << something(3) given the following definition? int something (int n) { if (n == 1) return 3; else return 2 * something (n – 1); }
________ provides access to electronic notebooks that make it easy to store, organize, and share a variety of content in a single location online
Fill in the blank(s) with correct word
____ images are photos used in public interest.
a. Editorial-rights b. Royalty-free c. Rights-protected d. Public domain
When a value of one data type is automatically changed to another data type, a(n) ____________________ type coercion is said to have occurred.
Fill in the blank(s) with the appropriate word(s).