What is the difference between an array (not any particular language's implementation of array, but the abstract array) and a list?
a list is quite diverse than an array.....an array is a sequential data type with similar data type were as a list (though not uniquely defined as it depends on platform) is not a data type rather it classifies the program methodoligies
An array is usually just contiguous block of memory where each 'element' just represents the size in bytes of whatever type of array it is. In C, think of a string as a fixed size array of chars with a null at the end to announce the end of the array. A list is obviously more advanced as it supports extra features, for example it might have a length property, it might be easier to insert an element somewhere in the middle of the list or it would be easier to resize the list.
Join our real-time social learning platform and learn together with your friends!