my problem is the following, I do not know why I do not take the matrix as I declare 3x3 take me and print as if it were a common arrangement, I hope you can help me. Thank you very much!
int main() {
int mat [3][3];
int i, x;
printf("Ingresa el contenido de la matriz: \n");
for(i=0; i<3; i++) {
for(x=0; i<3;i++) {
scanf("%d", &mat[i][x]);
}
}
for(int i=0; i<3; i++) {
for(int x=0; i<3;i++) {
printf("%d \t",mat[i][x]);
}
printf("\n");
}
return 0;
}