source:
CIVL/mods/dev.civl.com/examples/languageFeatures/pointerAddBad.cvl@
cb4d4f4
| Last change on this file since cb4d4f4 was aad342c, checked in by , 3 years ago | |
|---|---|
|
|
| File size: 121 bytes | |
| Line | |
|---|---|
| 1 | $input double a[10][10][10]; |
| 2 | |
| 3 | int main(){ |
| 4 | double * p = &a[0][0][0] + 1000; |
| 5 | double test; |
| 6 | |
| 7 | test = *p; |
| 8 | return 0; |
| 9 | } |
| 10 |
Note:
See TracBrowser
for help on using the repository browser.
