The library function sqrt operates on a double precision argument. If,

Loading

Choose the correct option.

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)