What is Aggregation

Relation between contained and container object, Contained Object can exist without container Object. Owner-ship is present.

class A{
    int a;
};

class B{
    A *ptr;
};