Class vs Structures | Sololearn: Learn to code for FREE!

0

Class vs Structures

What is class vs Structures?

7/17/2019 12:12:22 PM

Shakil Hassan

1 Answer

New Answer

+2

For classes, member variables, member functions and subclasses are private by default, while for structures they are public by default. Here is another discussion regarding the topic: https://www.sololearn.com/discuss/1378/?ref=app