#include<stdio.h>标签:1234,10,a%,递归,int,打印,print,return From: https://blog.51cto.com/u_15923331/5983601
void print(int a)
{
if (a > 9)
{
print(a / 10);
}
printf(" %d", a%10);
}
int main()
{
int a = 1234;
print(a);
return 0;
}
#include<stdio.h>标签:1234,10,a%,递归,int,打印,print,return From: https://blog.51cto.com/u_15923331/5983601
void print(int a)
{
if (a > 9)
{
print(a / 10);
}
printf(" %d", a%10);
}
int main()
{
int a = 1234;
print(a);
return 0;
}