div_t div (int numer, int denom);
div_t div ( int numer, int denom);ldiv_t div (long int numer, long int denom);
div_t div ( int numer, int denom); ldiv_t div ( long int numer, long int denom);lldiv_t div (long long int numer, long long int denom);
numer/denom
) as a structure of type div_t, ldiv_t or lldiv_t, which has two members: quot and rem.
|
|
int
version exists.long int
equivalent, see ldiv.long long int
equivalent, see lldiv.
|
|
38 div 5 => 7, remainder 3. |