[Solved] equality between two arrays


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.

solved equality between two arrays