Печать LinkedStack CPP

void PrintList(){
        Node* n=new Node();
        n=top;
        while (n!=NULL)
        {
            cout<<n->data<<"\n";
            n=n->Next;
        }
    }
Scary Shark