What is Div if not division [duplicate]

What the page means by Div is integer division. In C, if both operands to the / operator are of an integral type, the result is also of an integral type and any fractional part is truncated.

For example, 5 / 2 evaluates to 2.

Leave a Comment