What is the output of the following code?

```
#include
using namespace std;

class B
{
public:
~B()
{
cout << "B";
}
};

class A: public B
{
public:
~A()
{
cout << "A";
}
};

int main()
{
A a;
return 0;
}
```

A. A
B. AA
C. BA
D. B
E. AB


E. AB

Computer Science & Information Technology

You might also like to view...

Which of the following is not an effective way to increase the security of a password against cracking?

a) Encouraging users not to write down their passwords. b) Using password salting. c) Limiting the number of failed attempts to access a user’s account. d) Encouraging users to change their passwords often.

Computer Science & Information Technology

If you have a long list of files, a(n) ________ is a useful tool to narrow the list of files that are displayed

A) shortcut B) file properties C) filter D) Search box

Computer Science & Information Technology

What Windows Server 2016 feature provides the ability to find identical sets of data on a SAN based storage array and reduce the identical sets to a single instance to reduce space?

A. Disk pooling B. Data deduplication C. Data multiplexing D. Storage optimizing

Computer Science & Information Technology

The ____ code field is a unique unsigned integer code assigned to each machine language operation recognized by the hardware.

a. conditional b. operation c. reduced instruction set d. address

Computer Science & Information Technology