After num = atoi("1000") ; executes, what value is stored in the variable num?
A) "thousand"
B) "1000"
C) 999 (1000 minus 1 for the null terminator)
D) 1000
E) None of the above
Correct Answer:
Verified
Q3: The library function reverses the order of
Q4: The function _ _ accepts pointers to
Q5: To declare an array that will store
Q6: The null terminator stands for the ASCII
Q7: The expression strcmp("ab", "cde") returns
A)the boolean value
Q9: The code int x = 0; while
Q10: A C- string is a sequence of
Q11: Assume that str1 and str2 are objects
Q12: The string class member function returns the
Q13: The function converts a C- string to
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