Operator overloading


its not printing anything on coding blocks ide but on other ide its printing 1st element twice?? plz check it…

@Ashu1318 im looking at it please wait

@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.
image

while solving any quetion on linked list will we have to write all the code again??

@Ashu1318 you can use list STL