C language get the size of array

https:/‮w/‬ww.lautturi.com
C language get the size of array

The C language uses define to quickly find the size of an array

#define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0]))
Created Time:2017-08-28 15:22:38  Author:lautturi