Carving is one of the oldest sculptural techniques. It is a subtractive process; starting with a solid block, the sculptor removes material using chisels and other tools to 'reveal' the finished form. Traditional carving materials include stone, especially marble, and fine grained woods.
In the previous code snippet, we saw how to define a simple array of integer type. Similarly, we can define arrays of any type such as double, character, and string. In C#, arrays are objects. That means that declaring an array doesn't create an array. After declaring an array, you need to instantiate an array by using the new operator. The following code snippet defines arrays of double, char, bool, and string data types.
To declare an array in C, a programmer specifies the type of the elements and the number of elements required by an array as follows: This is called a single-dimensional array. The arraySize must be an integer constant greater than zero and type can be any valid C data type. For example, to declare a 10-element array called balance of type double, use this statement: Now balance is avariable array which is sufficient to hold upto 10 double numbers.