int a[ 100]= { 0 }; //needs to be initialized at declaration time.
Set all array members to 0 in the program.
for(int I = 0; I< 100; i++)
a[I]= 0;