int *intPtr; //intPtr is a type that points to a type int; //intPtr contains the address of a type int int* is a derived type name, a pointer to int
int * ps = new int; //allocates memory with new delete ps; //free memory with deleteNotice that we used another operator. The "delete" operator is used to return memory to the memory pool when you are done with it. This is an important step in making memory efficient programs.