void initArray(int arr[], int arrSize){
for(int x=0;x<arrSize;x++){
arr[x] = 0;
}
}
/*initialize array elements to 0*/
Why are you yelling commands at me? Is that how you talk to other students? PS: Looks right to me.
Also, use code formatting by putting [code][/code] around your code.
Last edited on