Multidimensional Array

Multidimensional Array.

Multidimensional is also a type of array.

According to below syntax you can go more deeply but "3-dimension" array can hold complex data. Therefore you have not need to go more deeply but you have need then you can go deeply.

Syntax

data-type arrayName[ size ][ size ][ size ] = { { { value1, value2,...}, { value1, value2, ...} }, { {value1, value2,...}, {value1, value2,...} } };

See Output

Syntax

data-type arrayName[ size ][ size ][ size ];

See Output

In below program you can read data from user. It means below program make a dynamic multidimensional array.

See Output

About Us

Comsysapp.com is an educational website. Students and software developers can learn programming language tutorials. Comsysapp is very useful for beginners and professional developers. Comsysapp provides tutorial in easy language. Comsysapp.com has focus on simplicity.

Services

Comsysapp.com provides free tutorials like c, html, css, etc. All tutorials are free for beginner and professionals.


Terms of Use

comsysapp.com is not responsible for any mistake. We are not responsible if information made available on our website is incomplete or invalid. But comsysapp.com always try for zero-zero mistake.

Privacy policy

comsysapp.com does not collect any data from users. We use Google AdSense advertising on our website. We never ask personal or private information.


Sitemap

sitemap

copyright © 2023