what is differences between linked list and array

An array is some objects of the same type all next to each other in memory.

A linked list is a set of objects of the same type, each of which contains a pointer to the next one. They could all be scattered anywhere in memory.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.