Coupon Accepted Successfully!



An array is used to store a collection of data, but it is often more useful to think of an array as a collection of variables of the same type.

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



Array Initialization

int array [8] = {2, 4, 6, 8, 10, 12, 14, 16};

An array of characters ie string can be initialized as follows:

char string[10] = “Hello”;

Test Your Skills Now!
Take a Quiz now
Reviewer Name