Multiple Choice
Assume that a program has the following string object definition: string name;
Which of the following statements correctly assigns a string literal to the string object?
A) name = Jane;
B) name = "Jane";
C) name = 'Jane';
D) name = (Jane) ;
Correct Answer:

Verified
Correct Answer:
Verified
Q11: Escape sequences are always stored internally as
Q48: Which of the following defines a double-precision
Q50: When writing long integer literals or long
Q51: A preprocessor directive does not require a
Q53: What will the following code display?<br><img src="https://d2lvgg3v3hfg70.cloudfront.net/TB2965/.jpg"
Q54: These are used to declare variables that
Q55: This control sequence is used to skip
Q57: Assuming you are using a system with
Q58: The numeric data types in C++ can
Q59: Which data type typically requires only one