As shown in figure, I in the main function defines two array u [N], [N] v, N=10, when using a pointer to the incoming function, but at the time of assignment can see s obviously have a value in the array but in u [m - 2]=s [0] this step after u are still in the initial value of 0, and if the program is run down there won't be any error, just at the time of output will print only the initial value of 0, this is where the problem? How to solve?
CodePudding user response:
Or post codeCodePudding user response: