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


(C) temp = x
x = y
y = temp

Computer Science & Information Technology

You might also like to view...

Double-clicking the ____ tool rotates the selected object around the selected reference point on the Control panel.

A. Skew B. Rotate C. Turn D. Mirror

Computer Science & Information Technology

ADSL is ideal for Internet access because most users upload more information than they download from the Internet.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

A(n) ____________________ is a graphical ad, often with animation, placed in a prominent position on a webpage.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

By combining the ____ object with DHTML techniques, you can update and modify individual portions of your web page with data received from a web server.

A. AjaxRequest B. XMLHttpRequest C. HttpRequest D. XMLRequest

Computer Science & Information Technology