hello all quick pointers question
i had to write this func. on an assignment
now i want to test it in the main so i did :
int checkMat(int**mat , int rows)
int sum=0; // will be the sum of the first - the sum of the second if sum=0 then they're equal
sum = sum+mat[i][j]-mat[rows-i][rows-j];
if (sum=0) return 1;
and it gives a "argument of type incompatible" what am i doing wrong in the main ?
i don't want to change the signature of the function
tnx all helpers !