boot2

Playing with the boostrap
git clone https://git.ryansepassi.com/git/boot2.git
Log | Files | Refs | README

072-enum-const.c (166B)


      1 /* §K.3 — enum constants in expressions. */
      2 enum E { A = 1, B = 10, C };  /* C defaults to 11 */
      3 
      4 int main(void) {
      5     return A + B + C;  /* 1 + 10 + 11 = 22 */
      6 }