строка for printf

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
A[3][3]
A[0][0] A[0][1] A[0][2]
p+(i*3)+j
p+(0*3)+0 p+(0*3)+1 p+(0*3)+2
A[3][3]
A[1][0] A[1][1] A[1][2]
p+(i*3)+j
p+(1*3)+0 p+(1*3)+1 p+(1*3)+2
A[2][0] A[2][1] A[2][2]
p+(i*3)+j
p+(2*3)+0 p+(2*3)+2 p+(2*3)+2
A[4][5]
k строка
p+(k*3)+j
for (j=0; j<5; j++)
printf p+(k*3)+j