kit

kit
git clone https://git.ryansepassi.com/git/kit.git
Log | Files | Refs | README

6_5_6_01_negative_pointer_subscript.c (105B)


      1 int test_main(void) {
      2   char buf[8];
      3   char* p = &buf[4];
      4   buf[3] = 17;
      5   return p[-1] == 17 ? 0 : 1;
      6 }