Data Type

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

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;