20 lines
241 B
C++
20 lines
241 B
C++
#include <stdio.h>
|
|
|
|
char t[7][7];
|
|
|
|
void main (void)
|
|
{
|
|
int x, y;
|
|
char *d;
|
|
|
|
d = &t[0][0];
|
|
|
|
for ( x=0; x<7; x++)
|
|
for ( y=0; y<7; y++)
|
|
{
|
|
t[x][y] = 7*y + x;
|
|
if ( t[x][y] != *( d + 7*x + y ) )
|
|
printf ( "DISTINTOS\n" );
|
|
}
|
|
|
|
} |