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 fflush c++?
what are the characteristics of Class Members in C++?
Is c++ free?
What are arrays c++?
Explain deep copy and a shallow copy?
Explain terminate() function?
Describe private, protected and public?
Which of the following is not a valid declaration for main() a) int main() b) int main(int argc, char *argv[]) c) They both work
What are c++ tokens?
What is the difference between a pointer and a link in c ++?
What is istream and ostream in c++?
Write is a binary search tree? Write an algo and tell complexity?
Is c++ an integer?
What is a constant reference?
What is the most powerful coding language?