# include # include int main(int argc, char** argv) { ldiv_t quotient = ldiv(strtol(argv[1], NULL, 10), strtol(argv[2], NULL, 10)); printf("quotient : %ld\n", quotient.quot); printf("reste : %ld\n", quotient.rem); return EXIT_SUCCESS; }