a) Structures by default hide every member whereas classes do not
b) In Structures, members are public by default whereas, in Classes, they are private by default
c) Structures cannot have private members whereas classes can have
d) In Structures, members are private by default whereas, in Classes, they are public by default
How structures and classes in C++ differ?
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
How structures and classes in C++ differ?
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!