source:
CIVL/mods/dev.civl.abc/examples/side-effects/nestedLoop.c@
8553be8
| Last change on this file since 8553be8 was aad342c, checked in by , 3 years ago | |
|---|---|
|
|
| File size: 187 bytes | |
| Line | |
|---|---|
| 1 | int fun(int a){ |
| 2 | return 0; |
| 3 | } |
| 4 | |
| 5 | int main() { |
| 6 | int data[1]; |
| 7 | for(int i = 0; i < 3; i++) { |
| 8 | for(int j = 0; j > 0 && fun(data[j - 1]) > 0; j--) { |
| 9 | return 0; |
| 10 | } |
| 11 | } |
| 12 | return 0; |
| 13 | } |
Note:
See TracBrowser
for help on using the repository browser.
