answersLogoWhite

0

The details depend on the language, but the index of an array is usually an integer data type. Anything that is compatible with an integer can be used.

User Avatar

Wiki User

12y ago

What else can I help you with?

Related Questions

Why arrays are not primitive data type?

An array is a primitive data type. It is the element type that may or may not be primitive.


What is Arrays?

Array is a collection of items of same data type..


What is an arrey and how many types of arrey in details?

An array is a data type that describes a collection of ordered variables and types of arrays include vector arrays and matrix arrays.


How many bytes occupied for arrays?

It all depends on the length and data type of the array...


What are the data type in c language?

Some of them are: 1. char, short, int, long, float, double 2. pointers to these 3. arrays of these 4. arrays of pointers 5. pointers to arrays ...


What are the applications of array?

arrays are used to store the group of data which are of same type. These arrays can be applied in student mark sheet applications,online library applications etc.


What is arrays of structure?

A simple array has of basic data type such as char, int, float... arrays of structure has the type of structure.struct student std[12];Here std is an arrays of structure.


How arrays are created in java?

Arrays are created just like other variables in Java. Ex: int[] a; // declares an array of integers a = new int[10]; // allocates memory for 10 integers a[0] = 100; // initialize first element a[1] = 200; // initialize second element Arrays are homogenous data types and hence they can contain values of only one type. If you create an integer array it can hold only integer data type values. If you try to assign values to nonexistent locations like a[15] it will throw an index out of bounds exception.


Why String data type cannot be used as built-in data type in C?

Because it isn't a built-in data-type in C. Other examples that aren't built-in data-types: complex numbers, binary trees, associative-arrays.


What type of index do you use to leave the order of the data rows unaffected?

non cluster index


What are arreys in c?

arrays in C are the data types which have collection of same type of data together store a fixed-size s of elements .


Is struct is user defined data type?

yes, a structure is a user-made data type so that user can manipulate multiple data types simultaneously. a structure covers up sum limitation of arrays as in it provides heterogenous data type.