1.

Give an explanation of the declaration of a two-dimensional array with an example.

Answer»

int marks[5][5];

1. Name of the array is marks.

2. Type of the array is integer.

3. Size of the array is 5 rows and 5 columns, i.e., we can store up to 25 integer values in the array (row x column) 5 x 5 = 25.



Discussion

No Comment Found