answersLogoWhite

0

What are the types of array?

Updated: 8/17/2019
User Avatar

Wiki User

11y ago

Best Answer

There are several different types of arrays, which describe the characteristics of the array. Arrays may be static or dynamic. Static arrays have a predetermined size that will not change over the course of the program's life cycle, while dynamic arrays may be made larger or smaller as necessary while the program runs. Arrays may be one-dimensional or multi-dimensional. An array of just one dimension stores values in a straight line, while a multi-dimensional array represents data that might be rectangular, such as the dots in an image, or even 3 dimensional, such as a multi-layer image, an animation, etc.

User Avatar

Wiki User

11y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What are the types of array?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Explain the Different types of array?

one dementional array and two dementional array


What is the array function in CAD?

there r 2 types of array in cad - rectangular array and polar array...........


What are types of array operation?

Here are some: Create an array Destroy it Access an element of it


How do you add different logo to my page?

if (class_exists('MultiPostThumbnails')) { //$types = array('post', 'page'); $types = array('page'); foreach($types as $type) { new MultiPostThumbnails(array( 'label' => 'Header Banner', 'id' => 'secondary-image', 'post_type' => $type ) ); } }


Why array is differ from structure?

An array is an aggregate of the same type. A structure is an aggregate of different types.


When an array contains values other than primitive data types is it considered a control array?

Only if the non-primitive data types are actually controls, such as an array of label controls, or an array of edit boxes. However, a control array is still an array. The only difference is that the values will likely be resource handles (objects that refer or point to the actual object which will be stored elsewhere in memory) rather than an actual value itself. That is, an array of primitive data types stores the actual value in the array itself.


What is the difference between an array and structure?

An array is a collection of related data elements of same type.Structure can have elements of different types.An array is a derived data type.A structure is a programmer-defined data type.A struct can contain multiple data types, whereas an array can not.


What is array processor and what is the role of attached array processor?

aray processor is a processor that performs computations on large arrays of data. It is of two types: (1) attached array processor. (2)SIMD array processor.


What does square brackets mean?

It means indexing into an array. The array could be an array of built in primitive types or array of objects. The index must be a numeric value greater than or equal to 0.


What distinguishes an array from a structure?

Am array is an aggregate of elements that must be of the same type. A structure is an aggregate of elements (members) that can be of different types.


What are the permissible data types for an array index?

Integer (signed or unsigned)


What is the best sorting technique for already sorted array?

If it is already sorted, the best is to leave the array as it is.If it is already sorted, the best is to leave the array as it is.If it is already sorted, the best is to leave the array as it is.If it is already sorted, the best is to leave the array as it is.