I am giving main Steps hereunder
main( )
{
declare arrays;
read array elements;
read users choice either addition, subtraction, multi etc;
switch case( ) statement
{
now to pass the entire array to the function, say for example
addition( ) is the function name then the calling statement would be
addition(n,m, A[][],B[][]);
here n and m are rows and columns and A[] and B[] are two arrays
do not specify the size inside square brackets just pass the array name with empty square brackets
}
now in function definition
int addition(int r, int c, int a[][], int b[][])
{
addition of matrix steps goes here;
}
hope this would help u