explain two dimensional arrayin two dimensional


Explain two dimensional array

In two dimensional arrays, array is a pointer-to-pointer-to-data type.: at the first level, it points to a block of pointers, one for each row. That first-level pointer is the first one we allocate; it has nrows elements, with each element big enough to hold a pointer-to- data type. If we successfully allocate it, we then fill in the pointers (all nrows of them) with a pointer (also obtained from malloc) to ncolumns number of data types, the storage for that row of the array.

 

 

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: explain two dimensional arrayin two dimensional
Reference No:- TGS0305550

Expected delivery within 24 Hours