标签:语言 oid printf 一个 打印 递归 int void 习题
#include<stdio.h>
#include<math.h>
void copy(int x)
{
if (x / 10 == 0)
printf("%d", x % 10);
else
{
printf("%d ", x%10);
return copy(x / 10);
}
}
int main()
{
int x=1234;
copy(x);
return 0;
}
标签:语言 oid printf 一个 打印 递归 int void 习题
原文地址:https://blog.51cto.com/14737345/2479825