git-svn-id: file:///Users/aamine/c/gitwork/public/cbc/trunk@4009 1b9489fe-b721-0410-924e-b54b9192deb8
This commit is contained in:
Minero Aoki 2008-09-13 16:23:11 +00:00
parent 50c4f0ecd5
commit ffba97e811
1 changed files with 2 additions and 2 deletions

View File

@ -67,11 +67,11 @@ main(int argc, char **argv)
*ptr++ = 11;
printf(";%d;%d", integers[0], integers[1]);
// local array with pointer arighmetic
// local array with pointer arithmetic
*(p + 1) = 'S';
printf(";%c", p[1]);
// local array with pointer arighmetic
// local array with pointer arithmetic
ptrs[0] = NULL;
ptrs[1] = &x;
**(ptrs + 1) = 12;