summaryrefslogtreecommitdiff
path: root/reference/C/CONTRIB/OR_PRACTICAL_C/14_18.c
blob: 192496621f75ec6e403fbd0b2a1c679fd8c66905 (plain)
1
2
3
4
5
6
7
8
#define X_SIZE 60
#define Y_SIZE 30

int matrix[X_SIZE][Y_SIZE];
void init_matrix(void)
{
    (void)memset(matrix, -1, sizeof(matrix));
}