数组逆置
/* 功能:数组逆置 日期:2013-05-16 */ #include <stdio.h> #include <stdlib.h> #include <math.h> #define LEN 6 int main(viod) { int A[LEN]={1,2,3,4,5,6},i; for(i=0;i<=LEN-1;i++) { A[i]=LEN-i; printf("%d ",A[i]); } printf(“n”); system(“pause”); return 0; }
Preview
除特别注明外,本站所有文章均为 Windcoder网 原创,转载请注明出处来自: the-array-counter-reset
Loading comments...

Preview
No Data