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
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
The ____________________ is considered to be one of the most useful data structures.
Fill in the blank(s) with the appropriate word(s).
HTML provides instructions for how to structure ____ for display.
A. images B. Web pages C. graphics D. layouts
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)