c**********e 发帖数: 2007 | 1 class A {
public:
~A() {}
int a; int b;
}
Which statement about the sample code above is correct?
a) It is an aggregate, but not a POD (Plain Old Datatype).
b) It is just a POD.
c) It is both a POD and an aggregate.
d) It cannot be initialized because there are no constructors.
e) It cannot be initialized as an array element because there is no default
constructor. |
|