#include #include using namespace std; int main() { int i = 7; int *p = new int; // Allocates new memory for p *p = i; // Stores VALUE of i in where p points to cout << *p; delete p; p=NULL; // Releases the Memory p points to p = &i; // Stores ADDRES of i in p return 0; }