倒序輸出一個整數

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

相關文章
相關標籤/搜索