1.

A Program contains the following declarations and initial assignments:int i = 8, j = 5;double x = 0.005, y = –0.01;char c=’c’, d=’d’;Determine the value of the following expressions which involve the use of library functions:abs(i-2*j) ; log(exp(x)) ; toupper(d)

A. 2; 0.005; D
B. 1; 0.005; D
C. 2; 0.005; E
D. 1; 0.005; e
Answer» B. 1; 0.005; D


Discussion

No Comment Found