Which of the following 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
Q23: In C++ a C-string is a sequence
Q24: The function that reverses the order of
Q25: What is the output of the following
Q26: The function that converts a C-string to
Q27: The _ function concatenates the contents of
Q29: Which of the following will return true
Q30: To determine whether a character entered is
Q31: The _ function will change a character
Q32: The arguments of the strcpy function are
A)
Q33: The function that accepts a C-string as
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents