The following code displays ______________.
```
#include
using namespace std;
void maxValue(int value1, int value2, int max)
{
if (value1 > value2)
max = value1;
else
max = value2;
}
int main()
{
int max = 0;
maxValue(1, 2, max);
cout << "max is " << max << endl;
return 0;
}
```
a. max is
b. max is 1
c. max is 0
d. max is 2
c. max is 0
You might also like to view...
Which of the following statements regarding the use of counterfeit parts is accurate?
A. Counterfeit parts do not affect the security of a product B. Counterfeit parts do not function the same way as authentic parts C. Counterfeit parts reduce costs and improve product stability D. Counterfeit parts can be used to provide a feature that the original manufacturer cannot provide
When you ____________________ a paragraph, the last character of the text line is near the right border.
Fill in the blank(s) with the appropriate word(s).
This command ensures that header rows and columns remain visible when a worksheet is
scrolled. A) Freeze Panes B) Total Panes C) Excel Panes
If you are are troubleshooting a monitor display issue and you have verified that the graphics card is good connecting another display. You check the bad monitor and notice that you have a very dim image. What could possibly be the reason?
A. touchscreen is faulty B. out of date drivers C. room to bright D. faulty inverter/ backlight