Linked Lists Basics [Download this tutorial as , for updated conetnt and comments, generate a new pdf with the option which is present below the post]
What are Linked Lists?Linked lists store collections of data like arrays. Linked lists are chain of records/nodes, one record/node points to the next. Record holds the data.
Why Linked [...]
Archive for the ‘Pointers & Callbacks’ Category
Linked Lists
When to use pointer, when to use reference?
Use references when you can, and pointers when you have to. References are usually preferred over pointers whenever you don’t need “reseating”. This usually means that references are most useful in a class’s public interface.
References typically appear on the skin of an object, and pointers on the inside. The exception to the above is where [...]
Posted in Uncategorized