I am littlebit confused.I have done linkedlist in college using structures but here bhaiya has done using classes.Can I do same in structures or required to do in classes only ??
And please tell what is difference between pointer and reference??
Linked List Inset At Head
yes @ashwani225 structures would be fine too you can use them and refer this for difference
https://www.google.com/amp/s/www.geeksforgeeks.org/pointers-vs-references-cpp/amp/
i hope its clear if yes don’t forget to mark it as resolved and hit like