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
Explain the static member function.
Which is better c++ or java?
How do you find out if a linked-list has an end?
What is pure virtual function? Or what is abstract class?
Explain virtual class?
How does code-bloating occur in c++?
What is the use of seekg in c++?
What c++ library is string in?
Write a program to find the Fibonacci series recursively.
How do you declare a set in c++?
Write a program to find the reverse Fibonacci series starting from N.
Define pure virtual function?
What is helper in c++?
Write a function to find the nth item from the end of a linked list in a single pass.
What are the advantages of using typedef in a program?