Which of the following statements are true in c++?
A. Classes can not have data as public members.
B. Structures can not have functions as members.
C. Class members are public by default.
D. None of these.
Answer:B
Which of the following statements are true in c++?
A. Classes can not have data as public members. B. Structures can not have functions as members. C. Class members are public by default. D. None of these.