Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR C

get length of array in c

int a[17];
size_t n = sizeof(a)/sizeof(a[0]);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #length #array
ADD COMMENT
Topic
Name
1+8 =