1:代码如下: #define ARR_SIZE(a) (sizeof((a)) / sizeof((a[0]))) 转载于:https://www.cnblogs.com/lovemi93/p/7636529.html