I mean to say that, suppose u call a function fun() and inside it's body we have declaration.
int *p = new int(20);
So through this we have proved that stack allocation support pointers. And through:-
delete(p);
We showed that we can deallocate space at run time too.