RosettaCodeData/Task/Array-length/C/array-length-2.c

2 lines
51 B
C

#define ARRAY_LENGTH(A) (sizeof(A) / sizeof(A[0]))