还是不知道~为什么~错了~诶`
# include <stdio.h>int a(int )
int b(void)
int c(void)
int main (void)
{
int a, x;
scanf("%d",&a);
x = a(a);
b(a);
c(a);
printf("end!\n");
return 0;
}
int a (int a)
{
int i = 0;
printf("位数是\n");
for (;a<10;)
{
a=a/10;
i++;
}
return i;
}
int b (void)
{
int i = 0;
printf("数字是\n");
for (;b<10;)
{
i = b % 10;
b = b / 10;
printf("%d ",i);
}
}
int c (void)
{
int i = 0;
printf("倒叙是\n");
for (;b<10;)
{
i = b % 10;
b = b / 10;
printf("%d",i);
}
}