![]() Each set of inner braces represents one row. This type of initialization makes use of nested braces. ![]() Initializing Two – Dimensional Arrays: There are two ways in which a Two-Dimensional array can be initialized. A two – dimensional array ‘x’ with 3 rows and 3 columns is shown below: A two – dimensional array can be seen as a table with ‘x’ rows and ‘y’ columns where the row number ranges from 0 to (x-1) and column number ranges from 0 to (y-1).Elements in two-dimensional arrays are commonly referred to by x where i is the row number and ‘j’ is the column number. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |