1.

Which of the following statements is correct in C++?

A. Classes cannot have data as protected members.
B. Structures can have functions as members.
C. Class members are public by default.
D. Structure members are private by default.
Answer» C. Class members are public by default.


Discussion

No Comment Found