- Exercise

Let's solve an exercise in this lesson.

We'll cover the following

Problem Statement #

Make the public member elem a private member of Array. How does that affect the implementation of the assignment operator?

Uncomment the code in main() to see what happens.

Get hands-on with 1200+ tech skills courses.