Returns the integral quotient and remainder of the division of numer by denom ( numer/denom ) as a structure of type ldiv_t, which has two members: quot and rem.
Parameters
numer
Numerator.
denom
Denominator.
Return Value
The result is returned by value in a ldiv_t structure, which has two members (in either order):