Multiple Choice
A good way to convert a string such a "572" to an equivalent integer such as 572
A) is to use the C-library function itoa.
B) is to use an ostringstream object and the insertion operator <<.
C) is to use an istringstream object and the extraction operator >>.
D) is to use an ostringstream object and the extraction operator >>.
E) None of the above
Correct Answer:

Verified
Correct Answer:
Verified
Q30: The null terminator stands for the ASCII
Q31: The _ function accepts a C-string as
Q32: The _ function concatenates the contents of
Q33: The type of the literal string "Hello"
Q34: After num = stoi("1000"); executes, what value
Q35: A C-string can be assigned to a
Q36: To access the last character of a
Q37: To use the strlen function in a
Q38: A library function that looks for the
Q39: A C-string is a sequence of characters