Assume you have two integer variables, num1 and num2. Which of the following is the correct way to swap the values in these two variables?
a. ```
int temp = num1;
num2 = num1;
num1 = num2;
```
b. ```
int temp = num2;
num2 = num1;
num1 = temp;
```
c. ```
num1 = num2;
num2 = num1;
```
d. ```
int temp = num1;
num2 = temp;
temp = num2;
num1 = temp;
```
e. None of these
b. ```
int temp = num2;
num2 = num1;
num1 = temp;
```
You might also like to view...
You can modify the design of any form by right-clicking the tab at the top of the form and selecting ____ View.
A. Form B. Design C. Layout D. Datasheet
A(n) ____________ is a set of steps for carrying out a task that can be written down and implemented.?
Fill in the blank(s) with the appropriate word(s).
In the accompanying figure, the words Datasheet View at the lower left of the screen appear on the ____________________.
Fill in the blank(s) with the appropriate word(s).
To create a multivalued field, create a ____ field being sure to check the Allow Multiple Values check box.
A. list B. value C. combo D. lookup