source:
CIVL/mods/dev.civl.abc/examples/c/pointsToAnalysis/pointerToArray2.c
| Last change on this file was aad342c, checked in by , 3 years ago | |
|---|---|
|
|
| File size: 117 bytes | |
| Line | |
|---|---|
| 1 | |
| 2 | int main(){ |
| 3 | int a[10]; |
| 4 | int *p, (*q)[10], *x; |
| 5 | int b[10][10]; |
| 6 | |
| 7 | q = &a; |
| 8 | q = b; |
| 9 | x = &q[2][2]; |
| 10 | p = b[0]; |
| 11 | } |
Note:
See TracBrowser
for help on using the repository browser.
