Removes an element from a given position in the array.
[in] Position of a removed item in the array.
Pointer to the removed element - success, NULL - cannot remove the element.
When an element is removed from the array, it will not be deleted regardless of the memory management flag. Once the array element pointer is used, it has to be deallocated.