Showing posts with label Arrays. Show all posts
Showing posts with label Arrays. Show all posts

What do you mean by arrays? Write different types of arrays.

Array : Array is a derived data type. When it is necessary to store more than one value under a variable, user can make use of array. An array is a fixed-size sequence collection of elements of the same data type. It is simply a grouping of like-data type.
Different types of arrays : There are three types of arrays. They are,

  1. One dimensional array.
  2. Two dimensional array.
  3. Multidimensional array.

Explain different types of data structures.

Data structure means how the data is organized in memory. There different kind of data structures. Some are used to store the data of same type and some for different types of data. Different types of data structures help different types of operations of data structures too. Data structure is a particular way of storing and organizing data in a computer so that it can be used efficiently.