##c语言求逆序数
#include<stdio.h>
int f(int a)
{
int b;
for(b=0;a!=0;a=a/10)
b=b*10+a%10;
return b;
}
int main()
{
int a;
scanf("%d",&a);
printf("%d",f(a));
return 0;
}
标签:11,10,求逆,return,14,int,2021,include
来源: https://blog.csdn.net/weixin_62605148/article/details/121322232