...5位数的正整数,求出他是几位数,分别输出每一位数字,按逆序输出...答:include<stdio.h>int main(){ int a,b,c,d,e,p,n; scanf("%d",&n); if (n>9999) p=5; else if(n>999) p=4; else if(n>99) p=3; else if(n>9) p=2; else p=1; printf("位数:%d\n",p); a=n/10000; b=(int)(n-a...
c语言利用指针编写程序,将数组元素逆序输出答:include<stdio.h> int main(){int a[10]={1,2,3,4,5,6,7,8,9,10},*p;for(p=a+9;p>=a;p--)printf("%d ",*p);printf("\n");return 0;}