You did not have to include any header as you are simply not using any c++ functions. e.g, If you try to print the values in p, you will need some header.
new and delete are functions ( operators ) defined in <new> but they are treated as special cases and don't require you to #include the header http://www.cplusplus.com/reference/std/new/