|
|
Copyright 1991 David Jurgens |
MSC: struct _div_t div( int numer, int denom )
MSC: struct _ldiv_t ldiv( long int numer, long int denom )
- prototype in stdlib.h
- divides numerator by denominator giving quotient and remainder
- returns div_t or ldiv_t structure of the form:
struct _div_t struct _ldiv_t
{ {
int quot; long quot;
int rem; long rem;
}; };
|
|
Esc or Alt-X to exit |
div (c) |
Home/PgUp/PgDn/End ←↑↓→ |