Solved

A Good Way to Convert a String Such a "572

Question 40

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:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions