1.

Which of these methods return a smallest whole number greater than or equal to variable X?(a) double ceil(double X)(b) double floor(double X)(c) double max(double X)(d) double min(double X)

Answer» The correct answer is (a) double ceil(double X)

Explanation: ceil(double X) returns the smallest whole number greater than or equal to variable X.


Discussion

No Comment Found

Related InterviewSolutions