

MCQOPTIONS
Saved Bookmarks
1. |
The library function sqrt( ) operates on a double precision argument. If, i is an integer variable, which one of the following calls would correctly compute sqrt(i) ? |
A. | sqrt((double)i) |
B. | (double) sqrt(i) |
C. | (double) (sqrt(i)) |
D. | sqrt(i) |
Answer» B. (double) sqrt(i) | |