up readup on the usage of printf: it should be
Code:
printf("%f\n",A[i][j]);
cant remember if its %f or somethin else but just have a quick read and you'll be able to find it all, I know float is %f
printf(A[i][j]"\t");
actually thats not the only problem, you are accessing **** too high proram should be somethin like:
Code:
void main(void)
{
int i,j;
double x,y;
double A[2][3];
for(i=0;i<2;i++)
{
for(j=0;j<3;j++)
{
A[i][j] = 10;
printf(A[i][j]"\t");
}
printf("\n")
}
getch();
}
because doing:
double A[2][3]; means using index's:
A[0][0];
A[0][1];
A[0][2];
A[1][0];
A[1][1];
A[1][2];