Structures - Features,Properties

Q.  Which of the following is correct about structure in c++?
- Published on 17 Jun 15

a. structure does not support inheritance but class supports.
b. class data members are private by default while structures are public by default.
c. structure cannot be declared as abstract.
d. All of the above.

ANSWER: All of the above.

Post your comment / Share knowledge


Enter the code shown above:

(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)