1

What is the correct way to round offx, a float, to an int value?

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: What is the correct way to round offx, a float, to an int value? | Extra Education