This shows you the differences between two versions of the page.
|
c:assert.h:assert [2014/04/27 14:26] 218.18.232.154 [C Sourcecode Example] |
c:assert.h:assert [2024/02/16 01:06] (current) |
||
|---|---|---|---|
| Line 26: | Line 26: | ||
| int main ( void ) { | int main ( void ) { | ||
| printf("9 / 4 = %d\n", testfunc(9, 4) ); | printf("9 / 4 = %d\n", testfunc(9, 4) ); | ||
| - | printf("9 / 4 = %d\n", testfunc(3, 4) ); | ||
| printf("1 / 1 = %d\n", testfunc(1, 1) ); | printf("1 / 1 = %d\n", testfunc(1, 1) ); | ||
| + | printf("0 / 9 = %d\n", testfunc(0, 9) ); | ||
| return 0; | return 0; | ||
| } | } | ||
| </code> | </code> | ||
| + | |||
| ===== Output ===== | ===== Output ===== | ||