Home > Back-end >  This is a simple two dimensional array why don't print out?
This is a simple two dimensional array why don't print out?

Time:09-22

#include
Int main () {
Int I, j, x [100] [100], m;
Printf (" please enter the m value: ");
Scanf_s (" % d ", & amp; M);
for (j=0; J & lt; m; J++)
for (i=0; i [I] x [j]=m * j - I;
for(i=0; ifor(j=0; jPrintf (" & amp; D ", [I] x [j]);
return 0;

}

CodePudding user response:

What mistake? What's the operating error

CodePudding user response:

Printf (" % d ",... ) not & amp; d

CodePudding user response:

Please distinguish the placeholder and address-of operator
  • Related