int a = 20;int b = 10;交换 a,b 的值

来源:学生作业学帮网 编辑:学帮网 时间:2024/06/13 20:15:16

int a = 20;int b = 10;交换 a,b 的值

int c=0
c=a
a=b
b=c