#include using namespace std; //alt forma: ///alt forma: node *p=new node; // t->next=new node; ///t=t->next; t->next=p; //t->next->val=x; ///t->val=x; p->next=NULL; //t->next->next=NULL; ///t-next=NULL; p->val =x; //t=t->next; t=p;//lub t=t-next;// int main() { node *Q=NULL; node *t=NULL; return 0; }