answersLogoWhite

0

What is the purpose of an array?

Updated: 8/10/2023
User Avatar

Oruiz

Lvl 1
15y ago

Best Answer

An array is a sequence of logically related data items. It is a kind of row mad of boxes with each box holding a value . Each box can be accessed by , first box , second box, third box, so on. till the nth

box.

( submit by keshaw kumar Bokaro Niit)

User Avatar

Wiki User

13y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

15y ago

A C array is defined as contiguous memory locations having the same data type and identified using the same name. The elements are differentiated using the index of that element within the array.

An array is used to store the details of related data, which are all of the same type. For example, to store the marks of all the students in a class or list of candidates for a job et al.

This answer is:
User Avatar

User Avatar

Wiki User

10y ago

simple!! an array is a group of similar data items which are referred by a common name.
array is collection of similar datatypes.

This answer is:
User Avatar

User Avatar

Wiki User

8y ago

In computing, an array is contiguous block of memory in which we can store one or more values of the same type.

This answer is:
User Avatar

User Avatar

Wiki User

9y ago

An arrangement of quantities or symbols in rows and columns; a matrix.

This answer is:
User Avatar

User Avatar

Wiki User

14y ago

ARRAY IS THE ANOTHER KIND OF VARIABLE USE IN CIT IS AN IDENTIFIERS THAT IS REFERS TO A COLLECTION OF DATA ITEMS i.e. ALL HAVE SAME NAME.

This answer is:
User Avatar

User Avatar

Wiki User

12y ago

array is an arrangement of numbers

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is the purpose of an array?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

What is the purpose of a Hot Spare in a RAID array?

Used to replace a failed drive in a redundant array.


What is the purpose of a disk array?

A disk array serves many purposes. It is a disk storage system that is capable of storing multiple disk drives. This product increases the availability and maintainability of stored information.


Differentiate single dimensional array to double dimensional array?

A single dimensional array is an array of items. A two-dimensional array is an array of arrays of items.


What is meant by irregular dimensional array?

An irregular dimensional array is a special type of multi-dimensional array.First we must understand that a multi-dimensional array is just an array of arrays. Each element in the array is, itself, an array of elements.A regular multi-dimensional array will be an array of size n, with each element containing a separate array of size m. That is, each sub-array has the same size.An irregular multi-dimensional array will be a multi-dimensional array in which each sub-array does not contain the same number of elements.Regular array:array[0] = new array{0, 1, 2}array[1] = new array{3, 4, 5}array[2] = new array{6, 7, 8}array[3] = new array{9, 10, 11}This regular array is an array of size 4 in which each sub-array is of size 3.Irregular array:array[0] = new array{0, 1, 2}array[1] = new array{3, 4}array[2] = new array{5, 6, 7}array[3] = new array{8, 9, 10, 11}This irregular array is an array of size 4 in which the size of each sub-array is not the same.


How do you swap two adjecent no in array in c?

Option 1) Use a temporary variable: int x = array[i]; array[i] = array[i+1]; array[i+1] = x; Option 2) Use bit operators: array[i] ^= array[i+1] ^= array[i];

Related questions

What is the purpose of a Hot Spare in a RAID array?

Used to replace a failed drive in a redundant array.


What is the purpose of AND array?

AND array is used for developing digital circuit it is used in PLA programmable logic array and PAL programmable array of logic to implement the function. the number of and array will depend on how long you has function to be implemented.These are Digital circuits.


What is the purpose of and?

AND array is used for developing digital circuit it is used in PLA programmable logic array and PAL programmable array of logic to implement the function. the number of and array will depend on how long you has function to be implemented.These are Digital circuits.


What is the purpose of initialising an array?

Arrays are variables, so your question is: What is the purpose of initialising a variable? Answer: assigning initial values to them.


Define an array and describe its purpose?

An array refers to storing data on multiple devices. An example of this would be to be able to type in six things, call them an array, and not need an identifier for each one.


What is the purpose of array objects in JavaScript?

An array object is used to store multiple values in a single variable. This de-clutters everything and is extremely useful. An array can be created in three ways, regular, condensed and literal.


What is the purpose of a disk array?

A disk array serves many purposes. It is a disk storage system that is capable of storing multiple disk drives. This product increases the availability and maintainability of stored information.


Can a linked list implemented using an array be accessed by giving the location?

A linked list implemented with an array defeats the purpose of using a linked list, which is to address the memory allocation problems associated with arrays.


Differentiate single dimensional array to double dimensional array?

A single dimensional array is an array of items. A two-dimensional array is an array of arrays of items.


What is the purpose of a raid card?

RAID is short for Random Array of Independent Disks and is used to manage how data is stored on multiple hard drives on ones computer. Its purpose is to improve read and write speed.


What is meant by irregular dimensional array?

An irregular dimensional array is a special type of multi-dimensional array.First we must understand that a multi-dimensional array is just an array of arrays. Each element in the array is, itself, an array of elements.A regular multi-dimensional array will be an array of size n, with each element containing a separate array of size m. That is, each sub-array has the same size.An irregular multi-dimensional array will be a multi-dimensional array in which each sub-array does not contain the same number of elements.Regular array:array[0] = new array{0, 1, 2}array[1] = new array{3, 4, 5}array[2] = new array{6, 7, 8}array[3] = new array{9, 10, 11}This regular array is an array of size 4 in which each sub-array is of size 3.Irregular array:array[0] = new array{0, 1, 2}array[1] = new array{3, 4}array[2] = new array{5, 6, 7}array[3] = new array{8, 9, 10, 11}This irregular array is an array of size 4 in which the size of each sub-array is not the same.


How do you swap two adjecent no in array in c?

Option 1) Use a temporary variable: int x = array[i]; array[i] = array[i+1]; array[i+1] = x; Option 2) Use bit operators: array[i] ^= array[i+1] ^= array[i];