Presentation
c++ topic structure and class
- Course
- 10EC665 (10EC665)
- Institution
- Air University
Structures and classes differ in the following particulars: Structures are value types; classes are reference types. A variable of a structure type contains the structure's data, rather than containing a reference to the data as a class type does. Structures use stack allocation; classes use heap a...
[Show more]