1

The correct way to round off a floating number x to an integer value is

Correct Answer: y = (int) (x + 0.5)

Make the most of this question

This page focuses on one C Programming MCQs question from Programming. After checking the answer, return to the topic list to practice more or run a timed set.

C Programming MCQs MCQ: The correct way to round off a floating number x to an integer value is | Extra Education