+ 2

Which is bttr to use class or structure

23rd Feb 2017, 2:12 PM
Prakhar Agarwal
Prakhar Agarwal - avatar
2 Réponses
+ 3
Well.. Both r absolutely different concepts.. Class is mainly used for providing data security 😊
23rd Feb 2017, 3:45 PM
Deepankar Pathak
Deepankar Pathak - avatar
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
23rd Feb 2017, 5:50 PM
meherDev
meherDev - avatar