answersLogoWhite

0


Best Answer

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.

User Avatar

Wiki User

14y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is the sie of an array whos upper bound is 100?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

Declare an array of 100 integers?

int array_name [100];


What is a typeless variable?

A typeless variable is one which is not bound to a specific data type. This variable can contain a string, then be assigned an integer, then an array, then an object, etc. Note that some programming languages, like the C languages, do not offer typeless variables.An example of PHP typeless variables in action:


How do you access and store the elements of array?

#include<stdio.h> #include<conio.h> int main(void) { int a[10],i;//array declaration clrscr(); printf("\n enter the elements of array"); for(i=0;i<10;i++) scanf("%d",&a[i]); printf("\n the elements you enter into the array"); for(i=0;i<10;i++) printf("%5d",a[i]); getch(); return 0; }


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 integer type 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);

Related questions

What is the size of an array whose upper bound is 100?

101


What is the upper bound of an array whose size is 100?

The upper bound is the size minus 1 since VB starts with zero not one.


What is the size of an array whose upper is 100?

101


What is 342 rounded to the nearest 100?

300


How do you do union array?

typedef union U_t {/*...*/} U; U a[100]; /* an array of 100 unions */


Declare an array of 100 integers?

int array_name [100];


What is single dimentional?

A single dimension array is an array with one dimension. It is a collection in memory of one or more elements of the same type. int array[100]; declares an array of int's of size 100 elements. The elements are referenced as array[0], the first one, through array[99], the last one.


What is a typeless variable?

A typeless variable is one which is not bound to a specific data type. This variable can contain a string, then be assigned an integer, then an array, then an object, etc. Note that some programming languages, like the C languages, do not offer typeless variables.An example of PHP typeless variables in action:


Give an example of a multi dimensional array in Cpp?

// 2 dimensional array (a sudoku puzzle): char sudoku[9][9]; // 3 dimensional array (100 sudoku puzzles): char sudokus[100][9][9]


What is an array of class objects.how the array of class of class objects is defined in c plus plus?

An array of class objects is just a set of class objects arranged linearly in memory. It is no different than an array of elementary objects. You define it the same way. class myClass { ... }; myClass arrayOfMyClass[100]; // creates 100 objects and fires the constructor 100 times


How do you access and store the elements of array?

#include<stdio.h> #include<conio.h> int main(void) { int a[10],i;//array declaration clrscr(); printf("\n enter the elements of array"); for(i=0;i<10;i++) scanf("%d",&a[i]); printf("\n the elements you enter into the array"); for(i=0;i<10;i++) printf("%5d",a[i]); getch(); return 0; }


Who was the 100 person on Earth?

Jill from the brothel, whos dad is chris tarrent