Consider the following code snippet
[x,y]=[y,x];
What is the result of the above code snippet?
[x,y]=[y,x];
A. Throws exception
B. Swap the value of the two variables
C. Flashes an error
D. Creates a new reference object
Answer: Option C

Join The Discussion