#include <iostream>
usingnamespace std;
struct node{
int number;
node * next;
};
node * list, * first;
int main()
{
list = new node; first = new node;
first -> number = 3000;
first -> next = list;
//first = list;
for (int i = 1; i <= 15; ++i)
{
list -> number = i;
list = list -> next;
}
list = first -> next; //*
//list = first;
for (int i = 1; i <= 15; ++i)
{
cout << "list -> number = " << list -> number << endl;
list = list -> next;
}
cout << "End of Program. \n" << endl;
return 0;
}