Data structure playlist
Introduction to Arrays
In this video, we will cover the basics of arrays and give an overview of how memory works. The video will be split into three parts:
Basics of arrays
Memory vs. storage
Storing integers and integer arrays in memory
An array is a collection of items of a single type, such as integers or strings. It is not common for an array to have multiple types. Here is an example of an array of integers:
int sampleArray[5] = {2, 4, 6, 8, 100};
You can visualize this array as a box