Array as an Abstract Data Structure C/C++. (ADT)

We require a pointer to an array create it dynamically of inputed size from the user and a length of array till elements are present.