how many ways to initialize array in c++ 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};
int nCount[] = {1, 2, 3, 4, 5};
int arr[3] = {1, 5, 4};