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;

2nd Jun 2018, 10:14 AM
Jobi Nedd
Jobi Nedd - avatar
2 Antworten
+ 1
int A = 20; int B = A; A=0;
2nd Jun 2018, 10:18 AM
***
*** - avatar
0
Thanks bro
13th Jul 2018, 1:27 PM
Jobi Nedd
Jobi Nedd - avatar