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 are the differences between java and c++?
what is multi-threading in C++?
What is the difference between a pointer and a link in c ++?
Explain container class.
What is c++ library?
Explain the use of virtual destructor?
Explain polymorphism?
What are the various situations where a copy constructor is invoked?
What is a static element?
What are files in c++?
What is the difference between a template and a macro?
Why the usage of pointers in C++ is not recommended ?
Is facebook written in c++?
Explain the virtual inheritance in c++.
What is virtual destructor ans explain its use?