i can’t understand that how we have to pass the values inside it , i know in c language but c++ is typical pls guide how can i do that , here ur passing the value head=newnode (d) why u r passing d here ?
Regarding the linked list
Your question is not clear enough.
By head=new node (d), we create a new node class with the value of that node initialized as d.
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.