The nodes of the tree structure better represent the instances of a class or structure?

0 like 0 dislike
5 views
Actually, the question above. The differences between classes and structures you know, but maybe there's some logic, best way to describe the nodes in the tree, an instance of structure or class?
by | 5 views

1 Answer

0 like 0 dislike
In C++ the difference between class and structure is exactly the same: in the structure by default, the data are public while private in class. So there is no major difference (from my point of view)
by

Related questions

0 like 0 dislike
1 answer
asked May 20, 2019 by serg_small_developer
0 like 0 dislike
2 answers
0 like 0 dislike
3 answers
asked Apr 24, 2019 by romentigo
0 like 0 dislike
2 answers
110,608 questions
257,186 answers
0 comments
28,709 users