WizIQ helps you learn and teach online - any subject you can think of!
Join for FREE

Types of Array

Add to Favourites
Post to:

Description
Types of array : single dimension, double dimension and multidimension

Comments
Presentation Transcript Presentation Transcript

Types Of Array : Types Of Array Arrays are classified according to the manner in which data are stored. When data are stored in consecutive memory cells, either in a single row or in single columns then such type of array is called single dimension or single subscripted array When data is stored in rows and columns i.e. in matrix form then it is called double dimension array or double subscripted array . Multi Dimensional Array : We may have arrays with more than two dimensions. A three dimension array data are stored 3D form, a four dimension in 4D form etc. A three dimensional array may be declared as A[3][2][4]. A three dimensional array requires three subscripts to specify an element of this array, such as a[i][j][k]. The first subscript ‘i’ specify a plane number , the second subscript ‘j’ a row number and the third subscript specifies a column number. For example An array of ‘place’ may be specified by the country, state and city, similarly an array of student may be specified by his school, class and section or by the college name, branch and the year, and an array of temperature may be specified by “longitude”, “latitude” and “altitude”.

Want to learn?

Sign up and browse through relevant courses.

Name:
Your Email:
Password:
Country:
Contact no.:


Area code Number
Subject you are interested in:
Word verification: (Enter the text as in image)


Sign Up Already a member? Sign In
I agree to WizIQ's User Agreement & Privacy Policy
5 Members Recommend
45 Followers

Your Facebook Friends on WizIQ