initialising the all values of array c++ code example
Example 1: initialize whole array to 0 c++
int nScores[100] = {0};
Example 2: c++ initialise array
int nCount[] = {1, 2, 3, 4, 5};
int nScores[100] = {0};
int nCount[] = {1, 2, 3, 4, 5};