标签:class code images scan png 二次 include log style
#include<stdio.h> #include<stdlib.h> int main() { int swap(int *m1,int *m2); int a,b; int *pointer_1,*pointer_2; scanf("%d,%d",&a,&b); pointer_1=&a;pointer_2=&b; if(a<b) swap(pointer_1,pointer_2); printf("\n%d,%d\n",*pointer_1,*pointer_2); system("pause"); } int swap(int *m1,int *m2) { int temp; temp=*m1; *m1=*m2; *m2=temp; }
标签:class code images scan png 二次 include log style
原文地址:http://www.cnblogs.com/yanyuzuishuai/p/6601189.html