Array In C Programming


 Array

An Array is defined as the collection of similar types of data item stored at contiguous memory locations.

Array are the derived data types in C programming language which can store the basic data types such as int, char, float, double etc.

An array can be One Dimensional, Two Dimensional or Multi Dimensional. The C language places no limits on the number of dimensions in an array. A one dimensional array is like a list and a two dimensional array is just like a matrix in the form of rows and columns.

All array elements consist of contiguous memory locations. The lowest address corresponds to the first element and the highest address corresponds to the last address.

No comments:

Post a Comment