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 ex traction operator >>.
C) is to use an ostringstream object and the insertion operator <<.
D) is to use an istringstream object and the extraction operator >>.
E) None of the above
Correct Answer:

Verified
Correct Answer:
Verified
Q2: To access the last character of a
Q3: To declare a C- string, you should
Q4: The function accepts a C- string as
Q5: To declare an array that will store
Q7: The function concatenates the contents of one
Q8: The string class member function returns the
Q9: The library function reverses the order of
Q10: The proper expression to compare the first
Q11: A C- string can be assigned to
Q33: Although C++ provides ample library functions to