标签:
#include <stdio.h>
void print( int val)
{
int tmp = val/10;
if( tmp != 0)
{
print(tmp);
}
putchar( val % 10 + ‘0‘);
}
int main()
{
int val = 1234;
print(val);
putchar(‘\n‘);
return 0;
}
标签:
原文地址:http://blog.csdn.net/yangrujing/article/details/45602321