for (i=0; i < 3; i++) {print student[i]}
What are two-dimensional arrays? Let's say we want not just create a list of student names, but have a whole list of parameters for each student (first name, last name, birthday, height). Then we can create a two-dimensional array—an array of arrays. And then we can retrieve each parameter like this: students[0][2]=>23.12.2006. However, this doesn't look very convenient and besides, in many programming languages, you can only store variables of the same type in an array. Therefore, for tasks like a list of students typically used one-dimensional array, containing Objects. Then the parameters are retrieved like this: students[0].birthday
Two-dimensional arrays, however, are perfect for storing matrices. This is very useful, since almost all machine learning and artificial intelligence systems today are based on matrix operations. Arrays allow you to write matrices directly in your code:
matrix = array {
{12, 53, 33},
{54, 22, 54},
{12, 32, 14},
}
and access each matrix element just like in higher mathematics: matrix[i][j], where i is the row number and j is the column number.
Here are some PDF books about arrays in programming:
C++ how to Program
2008 by Paul J. Deitel, Harvey M. Deitel

Download PDF
C# for Programmers
2005 by Harvey M. Deitel, Paul J. Deitel

Download PDF
PHP Arrays: Single, Multi-dimensional, Associative and Object Arrays in PHP 7
2016 by Steve Prettyman

Download PDF
See also: Top 10 eBook Organizers
How to download PDF:
1. Install Gooreader
2. Enter Book ID to the search box and press Enter
3. Click "Download Book" icon and select PDF*
* - note that for yellow books only preview pages are downloaded


