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


Class vs Structures

What is class vs Structures?

7/17/2019 12:12:22 PM

Shakil Hassan

1 Answer

New Answer


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: