Cs201 GDB Solution Fall 22

 Cs201 GDB Solution Fall 22



A struct is a value type. A class is a reference type. In contrast, class data members are private by default.

Structures have public data members by default. So we can say that the class is safer, Because it gently pushes you in a better direction. Encapsulation by default

private member. As a programmer, I recommend using a class in your backend instead of structure.


Click Here to Get More GDBS

CS601 GDB 1 Solution Fall 2022         Click to Open GDB