It has two members of the same type, defined in either order as:
int quot; int 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.
|ldiv_t||Structure returned by div and ldiv (type)|
|div||Integral division (function)|