passing a char array

I often use this macro:

#define ARY_LEN(a) (sizeof(a) / (sizeof(a[0])))