# include "stdio.h"
int main(void)
{
long x;
int d[100],j,i=0;
printf("请输入整数:");
scanf("%ld",&x);
while(x!=0)
{
d[i]=x;
x=x/10;
i++;
}
printf("对调后的结果为:");
for(j=0;j
printf("%d",d[j]);
printf("\n");
}
int main(void)
{
}