C++ Programming and Technical

In C++ what does the operator over loading
means.
a) Giving new meaning to existing C++ operators
b) Defining functionality of existing􀀁 C++ operator
for user define objects.
c) Defining new operators.

Read Solution (Total 0)

C++ Other Question

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).
Which statement is true of "pure virtual" functions?
a) They force you to derive another class from the
base class which contains the function.
b) They contain no code.
c) Neither of these
d) Both of these