how to initialize all the value of an array to 0 in c code example Example: initialize whole array to 0 c++ int nScores[100] = {0};