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 to access grid view row?
Is turbo c++ free?
Does c++ support exception handling?
Can we delete this pointer in c++?
Specify some guidelines that should be followed while overloading operators?
What is an arraylist c++?
What is the latest c++ standard?
What are the basics of local (auto) objects?
What are references in c++? What is a local reference?
Is c++ slower than c?
Do the parentheses after the type name make a difference with new?
What is a .h file c++?
What is a sequence in c++?
Explain the virtual inheritance in c++.
What is an iterator class in c++?