?
Consider the following code snippet
Consider the following code snippet
[x,y]=[y,x];
What is the result of the above code snippet?
[x,y]=[y,x];
Answer & Solution
Correct Answer:
Option
C
The above code snippet swaps the value of the two variables.
Join the Discussion
Login to post a comment or share your explanation.
Login