Computer Science, asked by krishnangipsingh2002, 1 month ago

What is an array? Give the declaration and initialization of two-dimensional array​

Answers

Answered by santoshgupta9495
4

Like the one-dimensional arrays, two-dimensional arrays may be initialized by following their declaration with a list of initial values enclosed in braces. Ex: int a[2][3]={0,0,0,1,1,1}; initializes the elements of the first row to zero and the second row to one. The initialization is done row by row.

Similar questions