0
How to move the value of a first variable to another (second) variable in which the first variable will become empty or 0 value.
And the other(Second)variable will contain the value of the first variable. Ex: Original Values int A=20; int B; Moved Values(Output of code) int A; or int A=0; int B=20;
2 Answers
+ 1
int A = 20;
int B = A;
A=0;
0
Thanks bro