First commit 24/10/1997
This commit is contained in:
20
TCOMPROB.CPP
Normal file
20
TCOMPROB.CPP
Normal file
@ -0,0 +1,20 @@
|
||||
#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" );
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user