Which of the following two versions of the class declarations is correct?

```
Version I:
class A
{
public:
A()
{
}

private:
A* a;
int i;
};

Version II:
class A
{
public:
A()
{
}

private:
A a;
int i;
};
```
a. Both versions are correct.
b. Both versions are wrong.
c. Version II is correct.
d. Version I is correct.

d. Version I is correct.

Computer Science & Information Technology

You might also like to view...

The term for unwanted signal coupling from one permanent link to another is

a. near-end crosstalk. b. alien crosstalk. c. far-end crosstalk. d. None of these answers is correct.

Computer Science & Information Technology

The activity of stealing (borrowing) bits from the host portion to further subdivide the network portion of an address is called ____________________.

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

Computer Science & Information Technology