Create a project titled Lab11_VarArrayTest. Implement the dynamically expanding and contracting integer array described in the second part of the previous lab as a class. You should use this class definition. The class attributes are a pointer to the dynamically allocated array array and the array size size This class contains two groups of methods:
Your code should work with this test program. It is designed to test your implementation of varArray class.
You are free to modify the class and the test program but you cannot change the principle of dynamic allocation of the array (i.e. you cannot make the member variables automatic) or remove testing of all the methods from the test program.