C++ program to add two complex numbers by passing objects to a function.