int a=3,b=5;不用中间变量交换两变量的位置,即a=5,b=3;

int a=3,b=5;
a=a+b;
b=a-b;
a=a-b;
posted @ 2010-12-21 14:26  →province★  阅读(272)  评论(0编辑  收藏  举报