Goals:
(1) Pass an array to a function and create a new array twice the size of the argument array.
(2) Copy the contents of the argument array to the new array and initialize the unused elements of the second array to 0.
(3) The function returns a pointer to the new array.
I am paranoid to keep debugging as I get the error message:
Debug Assertion Failed!
And do not want to start messing up things in my computer.. Please help me point out what is wrong with my function..