Composite Data Type
A composite data type is a data type which can be constructed using the programming language’s Primitive Data Type and other composite types.
Resources
- https://en.wikipedia.org/wiki/Composite_data_type
- https://www.ibm.com/docs/en/tivoli-netcoolimpact/6.1.1?topic=SSSHYH_6.1.1/com.ibm.netcoolimpact.doc6.1.1/user/imug_data_types_composite_overview.htm
A string is a composite data type.
Composite type taken from wikipedia
typedef struct {
int x;
int y;
} Point;
typedef double (*Metric) (Point p1, Point p2);
typedef struct {
Point centre;
double radius;
Metric metric;
} Circle;