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;
return 0;
}
```
a. the program runs but there is no output.
b. 0
c. Hello!
d. the program will not compile


c. Hello!

Computer Science & Information Technology

You might also like to view...

To use the Live Distribute feature, you select three or more objects, then press and hold the ____________________ while you drag a bounding box handle.

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

Computer Science & Information Technology

In numerical integration, excessive ____________________ times is a potential problem.

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

Computer Science & Information Technology

With Access open, press Shift + F4 to open the VB Editor

Indicate whether the statement is true or false

Computer Science & Information Technology

Separating a long form into multiple HTML ____ makes your form easier to use.

A. tables B. modules C. fields D. mini-forms

Computer Science & Information Technology