It has two members of the same type, defined in either order as:
long quot; long rem;
- Represents the quotient of the integral division operation performed by div, which is the integer of lesser magnitude that is neares to the algebraic quotient.
- Represents the remainder of the integral division operation performed by div, which is the integer resulting from subtracting quot to the numerator of the operation.
|div_t||Structure returned by div (type)|
|div||Integral division (function)|
|ldiv||Integral division (function)|