1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
#include <stdlib.h> /** quotient and remainder **/ typedef struct { int quot; int rem; } div_t; /*** is the type returned by FUNCTION(div) to hold both the quotient and remainder of an integer division. ***/ /* STDC(1) */