u have not initialised a constructor of class node in this video.
Node class constructor
@Zainul17192 bro here we are accessing the members through dot operator, watch the full video you will get it! And ya there is a default constructor also by default.
If your query is clear close the doubt and mark it resolved and rate full!