6_5_63_ptr_post_inc_scale.c (179B)
1 int test_main(void) { 2 long a[3] = {11, 22, 33}; 3 long* p = a; 4 long* old = p++; 5 if (old != a) return 1; 6 if (p != a + 1) return 2; 7 if (*p != 22) return 3; 8 return 42; 9 }
kitkit | |
| git clone https://git.ryansepassi.com/git/kit.git | |
| Log | Files | Refs | README |