Home > Back-end >  A great god, please help me take a look at this command I cannot run ~ ~ need to arrange an array of
A great god, please help me take a look at this command I cannot run ~ ~ need to arrange an array of

Time:09-30

#include
Int main ()
{
Int s [10], * (p1, p2, * p;
Printf (" do input the array: ");
For (p1=s; P1 & lt; S + 10; P1 + +)
The scanf (" % d ", (p1);
For (p1=s, p2=s + 9; P1 & lt; The p2. P2, p1 + + -)
{
* p=p;
* p1=* (p2);
* the p2=p;
}
Printf (" now the array is: ");
For (" p1=s: p1 & lt; S + 10; P1 + + ");
Printf (" % 4 d ", * (p1);
return 0; getchar();

} the qr code is pointer array ~ ~ where wrong ~ please explain
Must rely on the command to run 12345678910 permutation array

  • Related