标签:int void div span pre fun scanf col print
1 int a,b; 2 long c; 3 void fun(int a,int b,long *c) 4 {*c=(b%10)*1000+(a%10)*100+(b/10)*10+a/10;} 5 int main() 6 { 7 scanf("%d%d",&a,&b); 8 long *p=&c; 9 fun(a,b,p); 10 printf("%ld\n",c); 11 }
标签:int void div span pre fun scanf col print
原文地址:https://www.cnblogs.com/tingtin/p/10009779.html