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...

Why is having the correct device driver so important?

A) It enables a specific operating system to run as multiple machines. B) It enables multiple computers to share devices. C) It enables a device to work in both a powered and unpowered state. D) It enables a specific operating system to control a specific piece of hardware.

Computer Science & Information Technology

In what library is the function atof found?

A. B. C. it is part of “using namespace std” D.

Computer Science & Information Technology