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