answersLogoWhite

0

What is integer type array?

User Avatar

Wiki User

โˆ™ 2009-11-15 09:09:32

Best Answer

An array can be thought of as a series of boxes, or containers.

An integer is a whole number (0, 5, 12, -3, etc).

Therefore, an integer type array is an array that stores items that are all of the data type "integer".

Depending on the language, you might create and populate an integer array with the following:

x = [0, 3, 9, -2, 1];

This would create an array 'x' filled with the numbers 0, 3, 9 -2 and 1.

User Avatar

Wiki User

โˆ™ 2009-11-15 09:09:32
This answer is:
User Avatar
Study guides

What is a programming language

What does DOS stand for

What is a software that is distributed for free

What is application software

โžก๏ธ
See all cards
3.79
โ˜†โ˜…โ˜†โ˜…โ˜†โ˜…โ˜†โ˜…โ˜†โ˜…
19 Reviews

Add your answer:

Earn +20 pts
Q: What is integer type array?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is the sie of an array whos upper bound is 100?

To calculate the size of array the type of array should be given. Ex: if it is of integer type that means int arr[100] and integer is of 4 bytes, then the size of array will be 400 bytes.


Difference between integer array and character array?

Arrays are basic structures wherein one or more elements exist "side by side" and are of the same "type". An "integer" array is an array whose elements are all of an integer type which has no fractional component. A "character" array is an array which contains nothing but character types. A "floating point" array contains elements that have both an integer and fractional portion. Simply put, they are arrays of particular types.


What are the Difference between character array and integer array?

The base-type: character-array is array of characters, integer array is an array of integers. (Maybe you could have guessed that yourself.)Note: only character arrays can be initialized with string-literals, eg:char myname [] = "My name is";


What is the purpose of data type of pointer variable included in the declaration?

Data type is mandatory in every variable-declaration.Example:int i; -- integerint *pi; -- integer-pointerint ai[10]; -- integer-arrayint *api[10]; -- array of integer-pointersint (*api)[10]; -- pointer to integer-array


What is the maximum size of a one dimensional array?

One dimensional array creates the number array which has 50 components, each capable of holding one integer value . in other words the number array has a total of 50 components . all of type integer


What type of data is acceptable for arrays index?

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.


What is the difference between a numericial array and an associative array?

A numericial array is an array with keys made up of only integers. An associative array is an array with keys made up of anything that is not an integer. In some languages, it is possible to mix integer keys and non-integer keys into a mixed array.


What is integer array in C programming?

An integer array consists of only integer numbers, for instance, if you have the array of size 5 with integer type date int_array[5] it means that your first element int_array[0] is an integer number like 1, or 15 and so on. The same is true for other elements too; int_array[1](int_array[2], int_array[3], int_array[4]) might be any integer element and so on.


What is array variable?

An array is an indexed list of multiple variables of the same type. An array can be of any type and length.For example, int a[4]; creates an array of 4 integer elements namely a[0], a[1], a[2] and a[3]. Here a is the name of the array and the subscript (numbers written in []) is called index.


How do you declare array?

we define the array isArray array[]={1,2,3,4,5} this is the integer ArrayArray array[]={"apple","banana","carrot","mango"} this is the String Array


What is the difference between array and record?

The main difference b/w array & record is that the array is a collection of similar type like integer ,real ,real etc, which share a common name like 10 elements of type integer. But a record is a collection of different type of elements like some integer ,some real & some string etc. For ex-a student record has some int record like roll no,phone, some string like name address


What is integer array?

An array is a collection of similar data types. An integer array is nothing but a collection of integer data types. Ex: int a[100], int arr[100][100] There are several types. 1D array, 2D array, Multi-Dimensional array. But array is a contiguous allocation. And array size will always be positive. It can be given in the declaration stage or we can specify it dynamically by using malloc function. Ex: int *a; a=(int*)malloc(sizeof(int)*HOW_MANY_NUMBERS_YOU_WANT);

People also asked