ch 8/e12b.c
//Function to transpose variable length matrices - formal parameter x and y representing rows and columns

Function to transpose variable length matrices - formal parameter x and y representing rows and columns
Function to transpose variable length matrices - formal parameter x and y representing rows and columns
void transposeMatrix ( int x, int y )
	{
		for ( int i = 0; i < y; i++ )
			for ( int j = 0; j < x; j++ )
				yoda [i] [j] = obi [j] [i] ;	
	}
void transposeMatrix ( int x , int y ) { for ( int i = 0 ; i < y ; i ++ ) for ( int j = 0 ; j < x ; j ++ ) yoda [ i ] [ j ] = obi [ j ] [ i ] ; }
Function to transpose variable length matrices - formal parameter x and y representing rows and columns
Function to transpose variable length matrices - formal parameter x and y representing rows and columns