#define LEN(a) (sizeof(a) / sizeof(a)[0])
but it makes me wonder if the parens at the end make sense - shouldn't it be something like
#define LEN(a) (sizeof(a) / sizeof((a)[0]))
but it makes me wonder if the parens at the end make sense - shouldn't it be something like
also asked here https://stackoverflow.com/questions/42001665/is-this-a-plain...