What is the printout of the following code?

```
#include
using namespace std;

class Count
{
public:
int count;

Count(int c)
{
count = c;
}

Count()
{
count = 0;
}
};

void increment(Count c, int ×)
{
c.count++;
times++;
}

int main()
{
Count myCount;
int times = 0;

for (int i = 0; i < 100; i++)
increment(myCount, times);

cout << "myCount.count is " << myCount.count;
cout << " times is " << times;

return 0;
}
```

a. myCount.count is 100 times is 0
b. myCount.count is 100 times is 100
c. myCount.count is 0 times is 0
d. myCount.count is 0 times is 100


d. myCount.count is 0 times is 100

Computer Science & Information Technology

You might also like to view...

There can be only __________ return value from a function.

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

Computer Science & Information Technology

When adding a date on a slide your two options are Update automatically and ________

Fill in the blank(s) with correct word

Computer Science & Information Technology

An objective cell is required to complete a Solver model

Indicate whether the statement is true or false

Computer Science & Information Technology

Many of the programs available in UNIX and Linux can be run from the "Terminal" window ___________________ prompt.

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

Computer Science & Information Technology