create a array with all element are 0 in cpp code example Example: initialize whole array to 0 c++ int nScores[100] = {0};