Solved

After the Following Statement Executes, What Value Is Stored in the Variable

Question 29

Multiple Choice

After the following statement executes, what value is stored in the variable num?
num =atoi(1000) ; =\operatorname{atoi}\left(^{\prime\prime}1000^{\prime\prime}\right) ;


A) 1000
B) 999 (1000 minus 1 for the null terminator)
C) "1000"
D) "thousand"
E) None of these

Correct Answer:

verifed

Verified

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

Related Questions