找考题网-背景图
多项选择题

已定义相关变量,以下能实现两数交换的是()

A.t=a;a=b;b=t;
B.a =a +b;b =a -b;a =a -b;
C.b=t;a=b;a=t;
D.t=b;b=a;a=t;

热门试题