[ad_1]
it’s reason is pointers. Variable a and b is points same positions because
a = b;
After this code a points same memory adress with b. And all the changes and result will be same.
[ad_2]
solved equality between two arrays
[ad_1]
it’s reason is pointers. Variable a and b is points same positions because
a = b;
After this code a points same memory adress with b. And all the changes and result will be same.
[ad_2]
solved equality between two arrays