Posts

Showing posts from September, 2021

What are arrays in data in Data Structure?

Image
  If you want to make your career in the field of programming, then the first thing you have to learn is the basics of arrays. After that only, you could do the array problem solving questions.                Let us know what an array is.   An array is the collection of elements of the same data type stored at contiguous memory locations   What are the uses of an Array ?   An array is a collection of elements of the same data type and its size sequence is fixed. An array is a derived data type. When we want to store a large amount of data , or access or manipulate a large amount of data, then we use arrays. In an Array all elements have the common name. Arrays work on index numbers. The index of an array starts from 0 and ends with size-1. The collection of the same data type where each element has a separate memory location. An array is static and is a part of linear data structure.     What are the characteristicsof an array ?   Have a look at some of