In C++ every program is provided with a pool of unallocated memory that is may utlise during execution. This memory is called Free store memory. Struct Node { char info [15]; // Declare variable forming Info part Node*next // pointer that will point to next node }; Node *ptr // pointer that will point to the newly allocated memory ptr=new node // allocate memory to hold a node and make ptr point to it
Learn C++ Programming fast and easy, find C++ Program Codes