C Language
ArrayArray is a collection of same type elements under the same variable
identifier referenced by index number. Arrays are widely used within programming
for different purposes such as sorting, searching and etc. Arrays allow you to
store a group of data of a single type.
Arrays are efficient and useful for performing operations . You can use them to store a set of high scores in a video game, a 2 dimensional map layout, or store the coordinates of a multi-dimensional matrix for linear algebra calculations. Arrays are of two types single dimension array and multi-dimension array. Each of these array type can be of either static array or dynamic array. Static arrays have their sizes declared from the start and the size cannot be changed after declaration. Dynamic arrays that allow you to dynamically change their size at runtime, but they require more advanced techniques such as pointers and memory allocation.
|
|
Quick Links |