English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

2 answers

int Array[3][5];
this is an array with 3 rows of 5 integers in each row
example:
Array[0] = 1,2,3,4,5
Array[1] = 5,4,3,2,1
Array[2] = 2,1,4,3,5

2007-03-30 02:35:42 · answer #1 · answered by justme 7 · 0 0

Determining the size of an array can be tricky. The number of elements can be found using something like:
sizeof array / sizeof array[0]

2007-03-30 12:19:43 · answer #2 · answered by Dr.Mr.Ed 5 · 0 1

fedest.com, questions and answers