<!-- Colored by Color Scripter v2.0.0 (http://prev.kr/app/ColorScripter) -->

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
 
    int arr[x][y];
    for (int i = 0; i < x; i++)
    {
        for (int j = 0; j < y; y++)
        {
            arr[i][j] = 0;
        }
    }
 
 
    int arr2[y][x];
    for (int i = 0; i < y; i++)
    {
        for (int j = 0; j < x; j++)
        {
            arr[i][j] = 0;
        }
    }








나는 이렇게 배웠는데


뭐가 일반적인 방법?