ch 8/p813a.c
//Function to multiply a variable length array by a scalar	

Function to multiply a variable length array by a scalar
Function to multiply a variable length array by a scalar
void scalarMultiply ( int row, int column, int values [row] [column], int n )
	{
		for ( int r = 0; r < row; r++ )
			{
				for ( int c = 0; c < column; c++ )
					values [r] [c] *= n ;
			}
	}
void scalarMultiply ( int row , int column , int values [ row ] [ column ] , int n ) { for ( int r = 0 ; r < row ; r ++ ) { for ( int c = 0 ; c < column ; c ++ ) values [ r ] [ c ] *= n ; } }
Function to multiply a variable length array by a scalar
Function to multiply a variable length array by a scalar