Multiple Choice
Which statement converts the string "10" to the integer value 10?
A) itoa("ten")
B) atoi("ten")
C) atoi("10")
D) itoa(10)
E) None of these
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q10: In C++ a C-string is a sequence
Q14: The string class's front and back member
Q25: C++11 introduces a function named to_string that
Q35: This function converts a C-string to an
Q36: The strcpy function's arguments are:<br>A)two C-strings<br>B)two addresses<br>C)three
Q39: By being able to pass arrays as
Q40: To test whether a character is a
Q41: Which of the following lines of code
Q43: To define a C-string that will store
Q44: The C-string company[12] can hold _.<br>A)twelve characters<br>B)thirteen