I'm watching a tutorial video "implementing linked list in C++". In that tutorial, I don't understand this code:
struct node{
    int data;
    node* next;
};
The struct is a datatype, and what is meant by node? Is it a datatype or it's just a name? Also, I understand the int data; and what is node* next;? I know it's a pointer, and I know next is a name, what is node? Is it a name or a data type?
 
     
     
    