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

The member function setf stands for

a. set the file name b. set the flags c. set the format d. nothing

Computer Science & Information Technology

The ____________________ is considered to be one of the most useful data structures.

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

Computer Science & Information Technology

HTML provides instructions for how to structure ____ for display.

A. images B. Web pages C. graphics D. layouts

Computer Science & Information Technology

All the words shown in bold in the following sentence are adjectives.? Myfriend, Lamar, is a committed volunteer for humanitarian groups.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology