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.