Question: You are emptying the array, not deleting it from memory, and to do so you only need one statement. Write the definition of the of
You are emptying the array, not deleting it from memory, and to do so you only need one statement.

Write the definition of the of the function clearArray() as a member function so that it resets the array to an empty state. Think about this one carefully. You are emptying the array, not deleting it from memory, and to do so you only need one statement. What determines if an array is empty or if it has data stored in it? Functions.cpp
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
