#include<iostream>
using namespace std;
int main()
{
int test[5]= {1,3,6,7,5};
int *end, *p, * q;
end= test + 5;
for(p = test,q= end;p < q; ++p,--q)
{int t= *p;*p =*q; * q=t;}
for (p = test; p<= end; p++)
cout<< *p ;
return 0;
}
結果為什么是57631求程序
轉載請註明出處,本文鏈接:https://www.uj5u.com/qita/150089.html
標籤:其他
