Computer Science, asked by MonkJitsu, 1 year ago

write any two methods used for sorting the data in one dimensional array

Answers

Answered by venu10088855222
0
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
------------------------------------------------------------------------------------------------

:-)
Similar questions