codeGK
Code it ALL
Initializing an Array in C++ - CodeGK

♦ Initializing an Array in C++

♣ Example2: Initializing an Array in C++

Initializing Array in C++ means that we are assigning values to the variables.
There are various ways of Initializing an Array in C++.
In this example, Arrays are initialized with values.
Example
Input:
Output: