What is the Maximum Size that an Array can hold?

Answers were Sorted based on User's Feedback



What is the Maximum Size that an Array can hold?..

Answer / anand

An array is a derived data types, so normally array size depends upon the data type.

Is This Answer Correct ?    1 Yes 0 No

What is the Maximum Size that an Array can hold?..

Answer / jeff

it depends on the os bit

Is This Answer Correct ?    1 Yes 0 No

What is the Maximum Size that an Array can hold?..

Answer / sonali

I think it depends upon your PC's Memory..

Is This Answer Correct ?    2 Yes 2 No

What is the Maximum Size that an Array can hold?..

Answer / chandrakant rohi

depend upon ram memory

Is This Answer Correct ?    1 Yes 1 No

What is the Maximum Size that an Array can hold?..

Answer / aboy

that depends on the user declaration

Is This Answer Correct ?    1 Yes 1 No

What is the Maximum Size that an Array can hold?..

Answer / sampath

hi friends !
your system free memory space is the maximum limit
assume this u can understand this

char array == string == char pointer

so pointer use all free space in ur system so if we allocate
dynamic array means our system free memory is the limit

Is This Answer Correct ?    1 Yes 1 No

What is the Maximum Size that an Array can hold?..

Answer / vikash anand

It has been years since everybody has posted answers here and I feel anybody that needs the answer for question can get all relevant answers. I request administrator to close this topic for updation.

Is This Answer Correct ?    1 Yes 1 No

What is the Maximum Size that an Array can hold?..

Answer / chaitanya

the array is declared based on data type,then the array
size is also based on size of data type

Is This Answer Correct ?    1 Yes 1 No

What is the Maximum Size that an Array can hold?..

Answer / giri

I think array size is depend on size of Stack in which it
get store

Is This Answer Correct ?    1 Yes 1 No

What is the Maximum Size that an Array can hold?..

Answer / dinesh

The maximum array size can be as per the below formula

TOTAL_RAM-(HEAP_AREA+DATA_SECTION+BSS_SECTION+STACK_SIZE)

DATA and BSS section which are used.
HEAP & STACK which are allocated.

Is This Answer Correct ?    1 Yes 1 No

Post New Answer

More C++ General Interview Questions

What is Destructor in C++?

0 Answers  


Which c++ operator cannot overload?

0 Answers  


Explain storage qualifiers in c++.

0 Answers  


Assume studentNames and studentIDs are two parallel arrays of size N that hold student data. Write a pseudocode algorithm that sorts studentIDs array in ascending ID number order such that the two arrays remain parallel.

0 Answers  


How did c++ start?

0 Answers  






Which coding certification is best?

0 Answers  


Which command properly allocates memory a) char *a=new char[20]; b) char a=new char[20]; c) char a=new char(20.0);

0 Answers  


What character terminates all character array strings a) b) . c) END

0 Answers  


How would you use the functions randomize() and random()?

0 Answers  


What is the basic structure of a c++ program?

0 Answers  


What is the cout in c++?

0 Answers  


What are c++ manipulators?

0 Answers  


Categories