Multiple choice

In C++ function, ceil(5.5) is equal to ______.

  1. 5.5

  2. 6.0

  3. 6.5

  4. 7.1

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

The ceil() function rounds off  to the smallest integer value.