Which of the following statements is true
A) strings can be used in switch expressions, but string literals cannot be used in case labels.
B) strings cannot be used in switch expressions, but string literals can be used in case labels.
C) strings can be used in switch expressions, and string literals can be used in case labels.
D) strings cannot be used in switch expressions, and string literals cannot be used in case labels.
Correct Answer:
Verified
Q24: Which statement below is false?
A) Structured programming
Q55: Which of the following statements about the
Q56: Assuming a is a bool with a
Q57: Short-circuit evaluation is a performance feature related
Q58: Which of the following statements about the
Q59: Consider the code segment below.
If (gender ==
Q61: In structured programming,the only two ways to
Q62: The rule says that any rectangle (action)in
Q63: The while statement is sufficient to perform
Q64: The stacking and nesting rules must be
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents