```
#include
using namespace std;
class Test
{
public:
int x;
Test()
{
cout << "Test";
}
};
int main()
{
Test test;
cout << test.x;
return 0;
}
```
a. The program has a compile error because test is not initialized.
b. The program runs fine, but test.x is unpredictable.
c. The program has a compile error because Test does not have a default constructor.
d. The program has a compile error because x has not been initialized.
b. The program runs fine, but test.x is unpredictable.
You might also like to view...
________ effects are sets of lines and fill effects
Fill in the blank(s) with correct word
Discuss why the ability to consolidate servers with virtualization is appealing.
What will be an ideal response?
Component-level design metrics focus on what three internal characteristics of software components?
What will be an ideal response?
When settings are changed in the BIOS user interface, where are they stored?
A. RAM B. CMOS C. hard drive D. L3 cache