English, asked by expertguru8354, 1 year ago

What is the difference between a class and a struct?

Answers

Answered by mukul17
0
A class has all member private by default. A struct is a class where members are public by default.
Similar questions