X hits on this document

197 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 views197
Page views197
Page last viewedWed Jan 18 08:47:37 UTC 2017
Pages63
Paragraphs754
Words4119

Comments