Question: Consider two separate int arrays, a and b If you want b[2] to be an alias or reference to a[3], what would be the code
Consider two separate int arrays, a and b If you want b[2] to be an alias or reference to a[3], what would be the code to do this? This kind of assignment is not possible. b = a b[2] = a[3] a[3] = b[2] b[2] == a[3]
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
