Correct the two errors in the following function The functio
Correct the two errors in the following function. The function name conveys the of the function: int* GetRawPointer(unique_ptr uptr) {return uptr;}
Solution
corrected function:
int *GetRawPointer(unique_Ptr < int[] uptr)
{
return upr;
}
*GetRawPointer is pointer to afunction
int *GetRawPointer instead int* GetRawPointer --- one error
int *GetRawPointer (unique_Ptr < int[] uptr) instead of unique_Ptr < int[] > uptr ---second error
