What is the Maximum Size that an Array can hold?
Answer Posted / prasant
It depends on the stack size. If the compiler option is
chosen as default then the default stack size is 1MB and an
array can be allocated upto 1MB size. If the array size
exceeds this limit then the program will throw stack
overflow error.
| Is This Answer Correct ? | 16 Yes | 15 No |
Post New Answer View All Answers
How would you use qsort() function to sort an array of structures?
Is c++ platform dependent?
What is while loops?
What is constructor c++?
How to demonstrate the use of a variable?
Explain differences between new() and delete()?
What do you mean by late binding?
Which sort is best for the set: 1 2 3 5 4 a) Quick Sort b) Bubble Sort c) Merge Sort
Why is c++ is better than c?
Is c++ a dying language?
When the constructor of a base class calls a virtual function, why doesn't the override function of the derived class gets called?
How much is c++ certification?
What is stoi in c++?
How is static data member similar to a global variable?
Is c++ the most powerful language?