CSCI 515 C/C++ Programming Fall 2001

Therefore, the array above has elements from array[0][0] to array[2][5]. CAUTION: A common beginner mistake is to attempt to access array elements using the syntax array[1,4]= -2; When we pass multi-dimensional arrays to functions or use a prototye, we must include the size of the array in the prototype. E.g. void process_array (int [3][6]); ................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download