source:
CIVL/examples/languageFeatures/pointerAddBad.cvl@
8d298d8
| Last change on this file since 8d298d8 was e6b02c8, checked in by , 12 years ago | |
|---|---|
|
|
| File size: 177 bytes | |
| Line | |
|---|---|
| 1 | #include <civlc.cvh> |
| 2 | #include <stdio.h> |
| 3 | |
| 4 | $input double a[10][10][10]; |
| 5 | |
| 6 | void main(){ |
| 7 | |
| 8 | printf("*(&a[0][0][0] + 1000) is out of bound: %.4f\n" |
| 9 | , *(&a[0][0][0] + 1000)); |
| 10 | |
| 11 | } |
| 12 |
Note:
See TracBrowser
for help on using the repository browser.
