Anonymous

How Are Arrays Processed In 'C'? Illustrate By Taking Two-dimensional Arrays As Examples.

1

1 Answers

Monica Stott Profile
Monica Stott answered
  • What is an array?
According to the dictionary an array is 'to place something in proper or desired order'. An array is usually a diagram that displays objects, columns, boxes, arrows and rows in an easy to read and structured manner. An array is often used with computer functions and there are different types of array in relation to computers.

  • One-dimensional array
An example of a one-dimensional array would be a list. A simple list stating information in a structured way that is in a particular order would be considered a one-dimensional array. Arrays are often used in computer programming and in mathematics. These are subjects that require complex digits to be structured in such a way that they are easily understood and recognized. They would otherwise be meaningless or difficult to understand.

  • Two-dimensional array
A two-dimensional array can be created using JavaScript, a computer software program. A two-dimensional array will structure a set of information that is slightly more complex than a list. A two-dimensional array may be a table. Tables tend to have different columns, a column at the top and a column down the left hand side. The information placed in the middle of the table will be placed in a certain box because there will be some significance and meaning to the box it is placed in.

  • Creating arrays
You can use JavaScript to create 3 or even 4 dimensional arrays. Higher arrays may be used for scientific or engineering reasons but the JavaScript software is often inadequate for this type of work and there will usually be more advanced software available for people who will be using more complex arrays. Unbalanced arrays should always be avoided as they often complicate matters.

Answer Question

Anonymous