swap是什么语言

swap函数一般是一个程序员自定义函数。通常是实现两个变量数值的交换。比如 int a = 2; int b =3; swap(a,b); //一般用到变量数值交换,交换后a=3 b = 2; ......

2025-10-07
13