c++ how to initialize an array code example
Example 1: c++ initialise array
int nCount[] = {1, 2, 3, 4, 5};
Example 2: c++ initialize array
int arr[3] = {1, 5, 4};
Example 3: initialize array c++
int foo [5];
int nCount[] = {1, 2, 3, 4, 5};
int arr[3] = {1, 5, 4};
int foo [5];