Which of the following statement are true?
Statement 1: In an array, elements are stored in memory in a contiguous memory location or in sequential order.
Statement 2: New elements can be added to a linked list from anywhere in memory. It's a collection of components of the same type that are linked together by pointers.
1
Only Statement 1
2
Only Statement 2
3
Both Statement 1 and Statement 2
4
None of the above
5
Question Not Attempted