its not printing anything on coding blocks ide but on other ide its printing 1st element twice?? plz check it…
Operator overloading
@Ashu1318
in the insertAtTail() function, if head==NULL
return after making head, else rest of the code will be executed as well and another node will be inserted at tail.
while solving any quetion on linked list will we have to write all the code again??