C

Asked • 03/18/19

What is the behavior of integer division?

For example, int result; result = 125/100;or result = 43/100;Will result always be the floor of the division? What is the defined behavior?

1 Expert Answer

By:

Hiep L. answered • 04/28/19

Tutor
New to Wyzant

Current Computer Science Professor with 30+ yrs of IT experience

Still looking for help? Get the right answer, fast.

Ask a question for free

Get a free answer to a quick problem.
Most questions answered within 4 hours.

OR

Find an Online Tutor Now

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.