c++ program – Implement a class that implements a dynamic arrayof integers using a C style array allocated dynamically. Provideconstructor, destructor and set/get (val, index ). Inheriting fromthe class defined in the above program, create a new class whichimplements a new class named DynamicStack. Assume values stored inthe stack are between 0-100 and keep a dynamically allocated arraythat represents a histogram of values in the stack.
Expert Answer
An answer will be send to you shortly. . . . .