interest = (*deposit) * (*intRate); //Line 6 double *intRate = 0; //Line 2
intRate is a null pointer, so when you dereference it your program will most likely crash.
I don't see the need of using pointers and dynamic memory. You also forgot to deallocate the memory you used for deposit, resulting in a memory leak.