typedef struct node { int data; // will store information node *next; // the reference to the next node };
respected sir please tell me what is this node is it some datatype?
NODE: A node is user defined structure. A node has at least two fields data field and link field. Here the following figure shows a node.
NODE
It is not necessary that a node should have two fields we may have more than one data field.
........