When to delete a pointer?

that’s true Agin, but i guess there is no sense to use primitive type pointers without allocating Dynamic memory for them…
Thanks all