source:
CIVL/mods/dev.civl.com/examples/languageFeatures/pointerAdd6.c@
8553be8
| Last change on this file since 8553be8 was aad342c, checked in by , 3 years ago | |
|---|---|
|
|
| File size: 125 bytes | |
| Rev | Line | |
|---|---|---|
| [7fbac2e] | 1 | #include <assert.h> |
| 2 | ||
| 3 | int main(int argc, char * argv[]) { | |
| 4 | int a = 8; | |
| 5 | void *p = &a + 1; | |
| 6 | void * q = p + 0; | |
| 7 | ||
| 8 | return 0; | |
| 9 | } |
Note:
See TracBrowser
for help on using the repository browser.
