如题所述
#include<stdio.h>
#define N 10
void main() { int a[N],i,*p;
for ( i=0;i<N;i++ ) a[i]=i+1;
p=a; p+=N-1;
for ( i=0;i<N;i++,p-- ) printf("%d ",*p); printf("\n");
}
#define N 10
void main() { int a[N],i,*p;
for ( i=0;i<N;i++ ) a[i]=i+1;
p=a; p+=N-1;
for ( i=0;i<N;i++,p-- ) printf("%d ",*p); printf("\n");
}
温馨提示:答案为网友推荐,仅供参考