倒序输出一个整数

 void fun(int a)
{
    printf("%d", a%10);
    a /= 10;
    if(a<=0)
         return;
    fun(a);
}ide

相关文章
相关标签/搜索