My teacher said that I can't do that when I'm declaring an array:
int flag_x =0 , flag_y = 0 , x=2, y=2, principal[x][y];
He said I need to user define to use static array , like that:
#define x 2
#define y 2
int flag_x =0 , flag_y = 0 , principal[x][y];
Is that right?