adplus-dvertising
frame-decoration

Question

For x and y are variables as declared below
double x=0.005,y=-0.01;
What is the value of ceil(x+y)

a.

1

b.

0

c.

0.005

d.

Error

Posted under C Programming

Answer: (a).1

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. For x and y are variables as declared below double x=0.005,y=-0.01; What is the value of ceil(x+y)