I am trying to write a function to do dynamic memory allocation with a try catch block, so that I don't have to manually write a try catch block...
Separate names with a comma.