source:
CIVL/mods/dev.civl.abc/examples/c/pointsToAnalysis/pointerToArray2.c@
8553be8
| Last change on this file since 8553be8 was aad342c, checked in by , 3 years ago | |
|---|---|
|
|
| File size: 117 bytes | |
| Rev | Line | |
|---|---|---|
| [aad342c] | 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.
