source:
branches/libc-0.6/testcase/div.c@
3780
Last change on this file since 3780 was 381, checked in by , 22 years ago | |
---|---|
|
|
File size: 143 bytes |
Line | |
---|---|
1 | #include <stdlib.h> |
2 | |
3 | int main() |
4 | { |
5 | div_t lv = {0,0}; |
6 | lv = div(6,2); |
7 | printf(" 6/2 -> q=%d r=%d\n", lv.quot, lv.rem); |
8 | return 0; |
9 | } |
Note:
See TracBrowser
for help on using the repository browser.