Show the output of the following code:
```
#include
using namespace std;
class A
{
public:
int x;
int y;
int z;
A(): x(1), y(2), z(3)
{
}
};
int main()
{
A a;
cout << a.x << " " << a.y << " " << a.z;
return 0;
}
```
a. 2 2 2
b. 3 3 3
c. 1 1 1
d. 1 2 3
e. 1 1 2
d. 1 2 3
You might also like to view...
Recursion often is preferable to iteration because ________.
a. it is faster. b. it requires less memory. c. it models the problem more logically. d. All of the above.
The _____ PC settings are primarily relevant for tablet users and for customizing the Start screen.
A. Adjust B. Select C. Go to D. Change
In a button, the ____ frame contains the button's default state.
A. Down B. Over C. Up D. Hit
The U.S. Department of Homeland Security identifies six national security functions supplied by the ICT sector. Which one of the following is not one of them?
A. Provide identity management and trust support services. B. Provide disruptive technologies. C. Provide incident management capabilities. D. Provide Internet routing, access, and communications services.