I have to append last n element of LL to font :     node* append_LinkedList(node* head,int n)
    {
        //write your code here
        int count=0;
        node *temp=head;
        
        while(count<n-1)
        {
            temp=temp->next;
            count++;
        }
        cout<<temp->data;
        return head;
    }

next step I am not able to think.after getting nth node pointer what to do next.