answersLogoWhite

0


Best Answer

int array_name [100];

User Avatar

Wiki User

14y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Declare an array of 100 integers?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

What is Jagged Array in C?

A Jagged array is an array of arrays. You can initialize a jagged array as − int[][] scores = new int[2][]{new int[]{92,93,94},new int[]{85,66,87,88}}; Where, scores is an array of two arrays of integers - scores[0] is an array of 3 integers and scores[1] is an array of 4 integers.


How do you declare an array in easytrieve?

your wish


What does a 2 dimensional array do?

A two dimensional array is a one-dimensional array of one-dimensional arrays. That is, just as we can have an array of integers, we can also have an array of integer arrays. This idea can be extended such that we can have an array of two-dimensional arrays (a three-dimensional array), and so on. We typically use a two-dimensional array to represent a table of rows and columns, where each row is a one-dimensional array.


How do you write a c plus plus program that randomly generates 100 integer values and store them in an array?

// generate 100 integers in the closed range [1:9] and store in an array. std::default_random_engine generator ((unsigned) time (0)); std::uniform_int_distribution<int> distribution (1,9); std::array<int, 100> a; for (size_t loop=0; loop!=100; ++loop) a[loop] = distribution (generator);


How do you declare an array of buttons in Java?

To declare an array of buttons in Java, you would use the following syntax: Button[] buttonArray = new Button[n]; where n is the number of buttons you want in the array. This creates an array of n buttons, where each element can hold a reference to a Button object.

Related questions

What is Jagged Array in C?

A Jagged array is an array of arrays. You can initialize a jagged array as − int[][] scores = new int[2][]{new int[]{92,93,94},new int[]{85,66,87,88}}; Where, scores is an array of two arrays of integers - scores[0] is an array of 3 integers and scores[1] is an array of 4 integers.


How do you declare an array in easytrieve?

your wish


What is an associative array?

An associative array is one of a number of array-like data structures where the indices are not limited to integers.


What is the difference between numeric array and associative array?

Numeric array has numbers(+integers) that represent the values Associative array has strings that represent the values


What does a 2 dimensional array do?

A two dimensional array is a one-dimensional array of one-dimensional arrays. That is, just as we can have an array of integers, we can also have an array of integer arrays. This idea can be extended such that we can have an array of two-dimensional arrays (a three-dimensional array), and so on. We typically use a two-dimensional array to represent a table of rows and columns, where each row is a one-dimensional array.


How do you write a c plus plus program that randomly generates 100 integer values and store them in an array?

// generate 100 integers in the closed range [1:9] and store in an array. std::default_random_engine generator ((unsigned) time (0)); std::uniform_int_distribution<int> distribution (1,9); std::array<int, 100> a; for (size_t loop=0; loop!=100; ++loop) a[loop] = distribution (generator);


What is the difference between array and string of array?

When we declare an array of characters it has to be terminated by the NULL , but termination by NULL in case of string is automatic.


What is arry as in java?

An array is a contiguous block of memory in which to store data. For instance, an array of integers is essentially a chunk of memory with integers stored one after another. // Use [] to define an array of the given type. int[] intArray; // Instantiate intArray with enough space to hold 100 ints. intArray = new int[100]; // Store some data... int[0] = 100; int[1] = 99; int[2] = 98; ... int[99] = 1; // Retrieve some data... for(int i = 0; i < intArray.length; ++i) { System.out.println(intArray[i]); }


How do you declare an array of buttons in Java?

To declare an array of buttons in Java, you would use the following syntax: Button[] buttonArray = new Button[n]; where n is the number of buttons you want in the array. This creates an array of n buttons, where each element can hold a reference to a Button object.


How do you declare an array alpha of 10 rows and 20 columns of type int?

int array[2][10][20];


How do you declare an array of five pointers to chars?

char *p="ragav"


Array subscripts are always a large numbers b characters c negative values d integers?

d integers