Programming Languages C++ Objective
Mar 19, 2013

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

Choose the correct answer:
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.
Detailed Explanation

Option B is the right answer.

Discussion (0)

No comments yet. Be the first to share your thoughts!

Share Your Thoughts
Feedback