What are the values of x and y after executing the following code?

>> tempVal = x;
>> x = y;
>> y = tempVal;

x is 99 and y is 22.

x is 99 and y is 99.
1) x is 99 and y is 22.
2) x is 99 and y is 99.

Q&A Education