#includeusing namespace std;void swap(int* a,int* b){ int temp=*a; *a=*b; *b=temp;}void main(){ int a[]={3,5,7,3,2,4,6,7,9,4,3,24,6,8}; int length=sizeof(a)/sizeof(int); int i; int j; for(i=0;i
本文共 203 字,大约阅读时间需要 1 分钟。
#includeusing namespace std;void swap(int* a,int* b){ int temp=*a; *a=*b; *b=temp;}void main(){ int a[]={3,5,7,3,2,4,6,7,9,4,3,24,6,8}; int length=sizeof(a)/sizeof(int); int i; int j; for(i=0;i
转载地址:http://lcxga.baihongyu.com/