Given the function, and the main function calling it: Which, if any, of the following choices is the output of the following code? What does this function do?
```
#include
using namespace std;
void func ( int& x, int & y)
{
int t = x;
x = y;
y = t;
}
int main()
{
int u = 3; v = 4;
// ...
cout << u << " " << v << endl;
func ( u, v )
cout << u << " " << v << endl;
// ...
}
```
a) 3 4
3 3
b) 3 4
4 3
c) 3 4
3 4
d) 3 4
4 4
e) none of the above. If you choose this, you must specify the output
b) 3 4
4 3
The code swaps the values stored in the caller's arguments
You might also like to view...
Outlook uses a feature called ____________________ that begins to suggest possible matches based on names you have typed before.
Fill in the blank(s) with the appropriate word(s).
You can view a menu of Expression Web panels by clicking Panels on the ____________________, as shown in the accompanying figure.
Fill in the blank(s) with the appropriate word(s).
A(n) ____________________ trendline is used for data series with data points that have the pattern of a line.
Fill in the blank(s) with the appropriate word(s).
The ____ feature is especially useful when working with very large worksheets.
A. model B. summary C. outline D. auditing