Multiple Choice
Assume that x, y, and temp are Integer variables. Which of the following lines of code swaps the values of x and y?
A) x = y
y = x
B) x = temp
x = y
y = temp
C) temp = x
x = y
y = temp
D) x = y temp = x y =
temp
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q88: If strVar.Length is 5, then the value
Q89: A numeric variable that has not been
Q90: What message will be displayed by the
Q91: Which of the following statements removes all
Q92: What will be the output of
Q94: The Trim method is used to remove
Q95: What will be the output of the
Q96: When the Mask property of a masked
Q97: What will be the output of the
Q98: After the statement txtBox.Text = "" is