Question: 2-Which of the following is true about this code ? int () X = {1,3,5,7}; int [] Y = X; a. Y has the same
2-Which of the following is true about this code ? int () X = {1,3,5,7}; int [] Y = X; a. Y has the same elements as X b. X and Y point to the same memory location C. Both A and B d. None of the above
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
