0

I'm working on a matrix addition/multiplication/transpose/inverse program and after entering the values of matrix A, I don't know how to call these values.

```
int setMatrixA(int r1, int c1, int i, int j){
printf(" Enter the number of rows:\n");
scanf("%d", &r1);
printf(" Enter the number of columns:\n");
scanf("%d", &c1);
for(i=0; i<r1; i++) {
for(j=0; j<c1; j++) {
printf("Please enter A[%d][%d]\n", i, j);
scanf("%d",&A[i][j]);
}
}
printf("A= ");
for(i=0;i<r1;i++)
{
for(j=0;j<c1;j++)
printf("\t%d",A[i][j]);
printf("\n");
}
return A[i][j];
}
```

I can only think of return A*[j] and that doesn't work.*