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