可以交换两个数的函数定义为:void swap(int *p,int *q){ int *temp;*temp=*p;*p=*q;*q=*temp;} A、正确; B、错误 发布时间:2025-05-23 20:58:56