source:
CIVL/mods/dev.civl.com/examples/experimental/test.c@
bc0fbae
| Last change on this file since bc0fbae was aad342c, checked in by , 3 years ago | |
|---|---|
|
|
| File size: 210 bytes | |
| Line | |
|---|---|
| 1 | int a, b, c; |
| 2 | int *p, *q; |
| 3 | |
| 4 | int main() { |
| 5 | int la, lb, lc; |
| 6 | int *lp, *lq; |
| 7 | int **lpp, **lqq; |
| 8 | |
| 9 | lp = &la; |
| 10 | lp = &lb; |
| 11 | lq = lp; |
| 12 | lq = &lc; |
| 13 | lpp =&p; |
| 14 | p = &a; |
| 15 | p = &b; |
| 16 | lqq =&q; |
| 17 | q = p; |
| 18 | |
| 19 | return *lq; |
| 20 | } |
| 21 |
Note:
See TracBrowser
for help on using the repository browser.
