Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

size of array

int array[] = {4,78,3,7,9,2,56,2,76,23,6,2,1,645};
std::size_t length = sizeof(array)/sizeof(int); // see solution 1
Source by www.codeproject.com #
 
PREVIOUS NEXT
Tagged: #size #array
ADD COMMENT
Topic
Name
3+2 =