1 2 3 4 5 6 7 8 9
#ifndef ARRAY_UTILITY_H #define ARRAY_UTILITY_H // Element count of a static array #define ARRAY_SIZE(x) (sizeof(x) / sizeof(x[0])) #endif