X hits on this document

177 views

0 shares

0 downloads

0 comments

45 / 63

Copyright ©2004 Pearson Addison-Wesley. All rights reserved.

8-45

Multidimensional Arrays

Multidimensional arrays stand for the arrays with two or more dimensions.

Syntax for normal usage: element-type aname[size1][size2]…[sizen]; Syntax for parameter in function prototype: element-type aname[][size2]…[sizen]

e.g., char tictac[3][3];

A 2-dimensional array with three rows and three columns.

e.g., tictac[][3];

The declaration for the function prototype.

Document info
Document views177
Page views177
Page last viewedSun Dec 11 02:37:40 UTC 2016
Pages63
Paragraphs754
Words4119

Comments