Question: C++Define a class IntArr which hosts an array of integers. the following member functions are: 1. A default constructor. 2. A parameterized constructor which initializes
C++Define a class IntArr which hosts an array of integers. the following member functions are: 1. A default constructor. 2. A parameterized constructor which initializes the array of the object. 3. A function called display to display the array contents. 4. A function called search to search for an element in the array. 5. A default destructor.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
