Wednesday 13 February 2013

Two dimensional array representation



In many applications the data has to be represented as rows and columns. The representation of data in memory as rows and columns is called 2-D array. The general form is

datatype name[row size][column size];

Range :

The size of the row is called row range and size of column is called column range.

the maximum elements in a 2-D array are got by multiplying row range and column range.

Maximum elements in a 2-D array = row range column range

0 comments:

Post a Comment

Powered by Blogger.