标签:str span int log family 变量 col div 语言
使用中间变量交换两个变量的值
int a = 10 , b = 11 , m; m = a; a = b; b = m;
不使用中间变量交换两个变量的值
int a = 10;
int b = 11;
a = a + b;
b = a - b;
a = a - b;
标签:str span int log family 变量 col div 语言
原文地址:http://www.cnblogs.com/xiaobaizhiqian/p/7612468.html