Derived data types
Data types defined by the user
May contain a number of primitive data types
Primitive data types
Data types provided by default in C++
Includes int, float, bool etc.
5 examples of derived data types
Enum Typedef Structure Class Union
Main advantage of structures
Allows more than one value to be returned from a function
Two ways of accessing members through pointers to structures
(*ptr).memberVar;
ptr->memberVar;
Which of the following is allowed?
Aggregate assignment