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
What is a volatile variable in c++?
What are the benefits of oop in c++?
Refer to a name of class or function that is defined within a namespace?
Does c++ have arraylist?
What is anonymous object in c++?
What is the use of data hiding?
How do you save a c++ program?
What is virtual base class uses?
What are the effects after calling the delete this operator ?
What are the extraction and insertion operators in c++?
What is exception handling? Does c++ support exception handling?
Why Pointers are not used in C++?
What is an undefined reference/unresolved external symbol error and how do I fix it?
What are single and multiple inheritances in c++?
What is the protected keyword used for?