DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR C
c++ get length of array
int arr[5]; int len = sizeof(arr) / sizeof(arr[0]); // returns 5
PREVIOUS
NEXT
Tagged:
#length
#array
ADD COMMENT
Topic
COMMENT
Name
2+5 =
Submit