Q1) Write a C++ class which implements stack by using a dynamically allocated array. Initial size of particular stack must be determined when it is created. When the stack fills up, you must increase the size of the array so that additional elements can be pushed onto the stack. Be sure to implement appropriate constructors, destructors and overload any relevant operators.