6_6_07_enum_array_bound.c (136B)
1 typedef enum { A, B, C, N } E; 2 static const int marks[N] = {10, 12, 20}; 3 int test_main(void) { return marks[0] + marks[1] + marks[2]; }
kitkit | |
| git clone https://git.ryansepassi.com/git/kit.git | |
| Log | Files | Refs | README |