C++
Programming and Technical
Using the following declarations, which of the
following assignment statements are legal?
class A {...} ; class B: public A {...};
A a; B b, b1, b2;
a) a = b;
b) b = a;
c) b1 = b2;
d) Both (a) and (b) are legal, but not (c).
e) Both (a) and (c) are legal, but not (b).
f) Both (b) and (c) are legal, but not (a).
Read Solution (Total 1)
-
- f) b and c are legal but not a
- 10 years agoHelpfull: Yes(0) No(0)
C++ Other Question