Consider the following C++ program fragment
MyClass * B = new MyClass;
B->data_ = A.data_;
A.data_ = B->data_;
a. What is the storage allocation (static/stack/dynamic) for the various MyClass objects?
b. Draw the timeline of the binding lifetimes and object lifetimes for A, B, and MyClass objects.