Back to course

Introduction to Arrays

C++ Masterclass: From Zero to Hero

An array stores multiple items of the same type in contiguous memory. int nums[5] = {1, 2, 3, 4, 5};