Performs integer division, returning quotient and remainder #include <stdlib.h> lldiv_t lldiv ( long long dividend , long long divisor ); The parameters of lldiv( ) are long long integers, and its return value is a structure of type lldiv_t containing two long long integers. Otherwise, lldiv( ) works the same as the int function div( ). ExampleSee the example for div( ) in this chapter. See Also |