What is the output of the following program?

```
#include
using namespace std;
class TestClass
{
public:
TestClass(int x)
{ cout << x << endl; }
TestClass()
{ cout << "Hello!" << endl; }
};
int main()
{
TestClass test(77);
return 0;
}
```
a. the program runs but there is no output.
b. 77
c. Hello!
d. the program will not compile

b. 77

Computer Science & Information Technology

You might also like to view...

Notebooks that are protected with Information Rights Management in OneNote Desktop Application cannot be viewed, created, or edited in the OneNote Web App

Indicate whether the statement is true or false

Computer Science & Information Technology

The best file format for storing bitmapped images on personal computers has which file extension?

A) .tif B) .wav C) .jpg D) .avi

Computer Science & Information Technology