void multArray( int arr[], int size, int scale ) { int j; for ( j=0; j<size; j++ ) arr[j] *= scale; }