Given a class: MyClass And the following function: void Test…

Given a class: MyClass And the following function: void TestFunction(MyClass mc){ /*irrelevant code omitted*/ } Which member functions of MyClass will be called as a result of, but not necessarily on, the following line? Mark all that apply. TestFunction(someExistingMyClassObject);

Given a class: MyClass And the following function: void Test…

Given a class: MyClass And the following function: void TestFunction(MyClass mc){ /*irrelevant code omitted*/ } Which member functions of MyClass will be called as a result of, but not necessarily on, the following line? Mark all that apply. TestFunction(someExistingMyClassObject);

Given the following class: class Foo{ int* bar; int foobar;p…

Given the following class: class Foo{ int* bar; int foobar;public: Foo(); ~Foo(); Foo(const Foo& original); Foo& operator=(const Foo& original);};Foo::Foo(){ foobar = 10; bar = new int[foobar];}Foo::~Foo(){ delete[] bar;}Foo::Foo(const Foo& original){ foobar = original.foobar; bar = original.bar;}Foo& Foo::operator=(const Foo& original){ *this = original;} Indicate whether each member of the “Big Three” is implemented correctly or not.