I am trying to make my program accept pointers as part of a requirement to deallocate the heap space and kill the pointer. My program runs fine without the adjustments I attempt