ARRAYS
It can be of any type : char, int, float or even user defined types.
Array are of different types:
1. One- dimensional arrays: have only one Row or column.
Syntax: type array_name[size];
2. Multi-dimensional arrays: It has both rows and columns. You can also say that having many single arrays in one array. The simplest example is Two-dimensional array but it can have more than two-dimensions.
Syntax: type array_name[rows][columns];
No comments:
Post a Comment