source:
CIVL/mods/dev.civl.com/examples/languageFeatures/noopBad.cvl@
cb4d4f4
| Last change on this file since cb4d4f4 was aad342c, checked in by , 3 years ago | |
|---|---|
|
|
| File size: 144 bytes | |
| Line | |
|---|---|
| 1 | #include <civlc.cvh> |
| 2 | |
| 3 | $input int n; |
| 4 | |
| 5 | int main(){ |
| 6 | int a[10]; |
| 7 | |
| 8 | a[0] = 1; |
| 9 | //a[10];//array index out of bound |
| 10 | a[0]/n; // division by zero |
| 11 | } |
Note:
See TracBrowser
for help on using the repository browser.
