dimanche 18 octobre 2020

What is the use of SinglyLinkedList method in this class?

What is the use of SinglyLinkedList method in this class?

 class SinglyLinkedList {
 public:
 int data;
 SinglyLinkedList *next;
 
 singlylinkedlist (int data){
 this->data=data;
 this->next=nullptr;
 }};

Aucun commentaire:

Enregistrer un commentaire