TopBottom

Followers



Click on more
SUBSCRIBE

Enter your email address:

Delivered by FeedBurner



VIDEO

Announcement: wanna exchange links? contact me at ravikrak@yahoo.com

Multy Dimentional arrys

Posted by Ravi Kumar at Sunday, September 18, 2011
Share this post:
Ma.gnolia DiggIt! Del.icio.us Yahoo Furl Technorati Reddit

C allows arrays of three or more dimensions. The exact
limit is determined by the compiler.
The general form of multi-dimensional array is
type array-name[s1][s2][s3]----------------------[sm];
where si is the size of the ith dimension.
Some examples are:
int survey [3][5][12];
float table [5][4][5][3];
survey is a three dimensional array declared to contain
180 integer type elements.Similarly table is a four dimensional
array containing 300 elements of floating-point type.

Share |

Labels:

0 comments:

Post a Comment