C++ supports both classes and structures. Which of the following statements is FALSE in respect of both of them?
- Both can have variables and functions as members.
- In both, the members are private by default
- They support inheritance
- Their names can be used like any other types names
Answer:
Option b:In both, the members are private by default
Explanation Here
0 Comments