用指针的方法编写一函数,交换从键盘读入的两个整型数a,b。提示:void swap(int *p1,int *p2){int temp;temp=*p1;*p1=*p2;*p2=temp;} 编写 指针 整型 发布时间:2024-05-11 18:49:51