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