kit

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

6_2_4_01_static_keeps_value.c (105B)


      1 int next(void) {
      2   static int n = 40;
      3   return ++n;
      4 }
      5 int test_main(void) {
      6   next();
      7   return next();
      8 }