What are the differences between a c++ struct and c++ class?
Answers
Answered by
1
Answer:
The main difference between a struct and a class is:
- Struct members are public by default
- Class members are private by default.
Hope it helps....
Plz mark as brainliest..
Similar questions