+ 2
Which is bttr to use class or structure
2 Réponses
+ 3
Well.. Both r absolutely different concepts.. Class is mainly used for providing data security 😊
0
actually structure use mainly in c because c has no class option to used..
c++ have class option to make classes..
otherwise you can use structure and class both in c++..
and minor difference between structure and class is class has private properties and public properties but structure have only public properties