Tuesday, November 11, 2014

4.1.6 MULTIDIMENSIONAL ARRAY

The general form of a multi-dimensional array is:

            type   array_name[s1][s2][s3]…[sn];

                        where si is the size of the ith dimension.

e.g.      int survey[3][5][2];

            float table[5][4][5][3];

 

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.