prints the next row record

for (j=0;j<r;j++)

printf("%3d",p[i]->row[j]);