Yeah, but why 1? why minus 1 and not minus 3234342? (lol)
and why does it ask if ej/ei is bigger or smaller than 0 or 2?
and more one thing:
what does these lines do?Code:int board[3][3], *p = (int*)board; int i, j, c, x, ei, ej; //initialization for(i = 0, c = 8; i < 3; i++) for(j = 0; j < 3; j++, c--) board[i][j] = c; board[ei = 2][ej = 2] = 0;