source:
CIVL/examples/languageFeatures/pointerAddBad.cvl@
4e86cdd
| Last change on this file since 4e86cdd was e6b02c8, checked in by , 12 years ago | |
|---|---|
|
|
| File size: 177 bytes | |
| Rev | Line | |
|---|---|---|
| [e6b02c8] | 1 | #include <civlc.cvh> |
| [d010d61] | 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.
