Do not introduce the value of the third variable to exchange two variables

xiaoxiao2021-03-05  24

There are variables a and b, you want to exchange

A = a b;

B = a-b;

A = a-b;

The values ​​of A and B have been exchanged. ^ - ^.

转载请注明原文地址:https://www.9cbs.com/read-38528.html

New Post(0)