这里有两个变量a、b不使用第三个变量,将它们的值进行交换

a=a+b;

b=a-b;

a=a-b;

posted on 2013-03-12 23:53  potoofly  阅读(160)  评论(0编辑  收藏  举报