#3 |
[Çà·Ä °ö¼À]
#define DIM 5
int A[DIM][DIM] = {
{1, 2, 3, 4, 5},
{2, 3, 4, 5, 6},
{3, 4, 5, 6, 7},
{4, 5, 6, 7, 8},
{5, 6, 7, 8, 9}};
int B[DIM][DIM] = {
{1, 2, 3, 4, 5},
{2, 3, 4, 5, 6},
{3, 4, 5, 6, 7},
{4, 5, 6, 7, 8},
{5, 6, 7, 8, 9}};
À§¿Í °°ÀÌ Á¤ÀÇµÈ 5x5 Çà·ÄÀ» °öÇÏ´Â C = A x B ÇÁ·Î±×·¥À» 3Áß for loop·Î ±¸ÇöÇϽÿÀ.
Ãâ·Â¿¹½Ã: Ŭ¸¯
|