# include
M fun (char [] [10]) {printf (" % s \ n ", m + 1); }
Void main ()
{char a [3] [10]={" BASIC ", "FOXPRO", "C"};
Fun (a);
}
What is the output? And how to solve, thank you for your past bosses help solve
CodePudding user response:
Should the output FOXPROCodePudding user response:
In fact,Printf (" % s \ n ", m + 1);
Should be changed to
Printf (" % s \ n ", m [1]).
Is clear,
Originally m [1] is * (m + 1), m + 1 equals & amp; M [1]
But two dimensional array is a bit strange, m [1] on the address equal to m + 1, m * m on address,