函数fun 的功能是:交换两个变量的值。例如:若变量a 中的值8 ,b 中的值3 ,则程序运行后,a 中的值3 ,b 中的值8 。请将程序补充完整。 #include int fun( 1 ) { in t t; t=*x; *x=*y; *y=t; } int main() { int a,b; a=8;b=3; fun( 2 ); printf("%d,%d\n",a,b); return 0; }
拍照语音搜题,微信中搜索"皮皮学"使用
参考答案:
参考解析:
知识点:
皮皮学刷刷变学霸
举一反三
【简答题】American cities are similar to other cities around the world; In every country. Cities reflect the values of the culture. American cities are changing, just as American society is changing. After Woll...
【简答题】阅读理解 American cities are similar to other cities around the world:In every country, cities reflect the values of the culture.American cities are changing, just as American society is changing. After W...