#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;
}
时间: 2024-10-09 22:26:09