What is array explain different types of array?
Answers
Answered by
0
In computer science, an array type is a data type that is meant to describe a collection ofelements (values or variables), each selected by one or more indices (identifying keys) that can be computed at run time by the program. Such a collection is usually called an array variable, array value, or simply array.By analogy with the mathematical concepts ofvector and matrix, array types with one and two indices are often called vector type andmatrix type, respectively.
Language support for array types may include certain built-in array data types, some syntactic constructions (array type constructors) that the programmer may use to define such types and declare array variables, and special notation for indexing array elements.
the #RIHAAN
hope this will help youu
Language support for array types may include certain built-in array data types, some syntactic constructions (array type constructors) that the programmer may use to define such types and declare array variables, and special notation for indexing array elements.
the #RIHAAN
hope this will help youu
Answered by
1
array like structure in which day group number of items into a large unit an array groups of the same time type exist in almost every computer language including BASIC an array must be defined before it can be used to store it specifies an array type and name the items in an array are called elements
there are two types of array
★ one dimensional array or single dimensional array
★ multidimensional array
--------------------------------------------------------------------------------------------------------------------------------------------------------
★one dimensional array or single dimensional array
★ declaration of single dimensional array
they are used when a single sheet of value ARE REquired and we usually use a single look look to manipulate the control variables
★ syntax
data-type array-name [array-size];
★initialising of single dimensional array
it may take any one of the following forms as in the following
------------------------------------------------------------------------------------------------
★multidimensional array
unlike single dimensional array two dimensional array is declared with two sizes and it can be thought of as a matrix dimensional represent number of rows you want and the second time is Null reparation number of columns the declaration takes in the following form
★ syntax
data-type array-size [size1] [size2];
★ initialising of double dimensional array
initialising of double or two dimensional array may take any one of the following forms as in the example
------------------------------------------------------------------------------------------------
:-)
there are two types of array
★ one dimensional array or single dimensional array
★ multidimensional array
--------------------------------------------------------------------------------------------------------------------------------------------------------
★one dimensional array or single dimensional array
★ declaration of single dimensional array
they are used when a single sheet of value ARE REquired and we usually use a single look look to manipulate the control variables
★ syntax
data-type array-name [array-size];
★initialising of single dimensional array
it may take any one of the following forms as in the following
------------------------------------------------------------------------------------------------
★multidimensional array
unlike single dimensional array two dimensional array is declared with two sizes and it can be thought of as a matrix dimensional represent number of rows you want and the second time is Null reparation number of columns the declaration takes in the following form
★ syntax
data-type array-size [size1] [size2];
★ initialising of double dimensional array
initialising of double or two dimensional array may take any one of the following forms as in the example
------------------------------------------------------------------------------------------------
:-)
Similar questions
Math,
8 months ago
English,
8 months ago
Physics,
8 months ago
Social Sciences,
1 year ago
Social Sciences,
1 year ago