Car(Car &x)
{
}
Car d(e);
Here I didn’t get how are we passing by reference.Generally when we pass by reference it is something like this
Car d(&e);
and
Car (Car *x)
{
}