What is the Maximum Size that an Array can hold?
Answer Posted / reejusri
Maximum size has nothing to do with only the stack area,
but the area where the array is allocated from. The OP did
not say whether the array was created from dynamic memory
(a.k.a the heap), block or local memory (a.k.a. the stack),
or where automatic variables are declared.
The amount of memory available depends on:
1. The total memory on the platform.
2. The amount of memory allocated to the program.
3. The compiler's settings.
| Is This Answer Correct ? | 17 Yes | 9 No |
Post New Answer View All Answers
What is the full name of logo?
What is the difference between an array and a list?
Name the implicit member functions of a class.
Is there any function that can skip certain number of characters present in the input stream?
What is the use of "new" operator?
What is DlgProc?
In what situations do you have to use initialization list rather than assignment in constructors?
What is binary object model?
What can I use instead of namespace std?
What are the benefits of operator overloading?
How many different levels of pointers are there?
Explain unexpected() function?
What is algorithm in c++ programming?
What is c++ best used for?
What is struct c++?