Creating an Array
In this chapter, you will see the use of arrays in C++.
Introduction
An array is a collection of elements of the same data type a the single name. Let’s see how we can declare and initialize an array in C++.
Array declaration
The general syntax for declaring an array is given below:
Access this course and 1400+ top-rated courses and projects.