can anyone tell me what"s wrong with the function of this two-dimensional array?
does not work properly.
int (* t) [3];
void print(t){
int i, j;
for (i = 0; i < 3; iPP){
for (j = 0; j < 3; jPP){
printf("%d",t[i][j]);
}
printf("\n");
}
}
int main () {
int v[3][3] = {
{1, 2, 3},
{4, 5, 6},
{7, 8, 9}
};
print(&v[0]);
return 0;
}