What is the Maximum Size that an Array can hold?
Answer Posted / bipin pandey
It depends on your pc's memory size.
for example,if your declared an array: int array[3001][3001]
it needs 32bit*3001*3001=288M memory space.
in such way,i can calculate the Maximum size of array i can
i use
according
to our array type and memory size.
Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
What are the benefits of pointers?
How the delete operator differs from the delete[]operator?
Can we use this pointer in a class specific, operator-overloading function for new operator?
How do you establish a has-a relationship?
What do you mean by translation unit in c++?
Explain the volatile and mutable keywords.
If a round rectangle has straight edges and rounded corners, your roundrect class inherits both from rectangle and from circle, and they in turn both inherit from shape, how many shapes are created when you create a roundrect?
Can we declare a base-class destructor as virtual?
Can you please explain the difference between using macro and inline functions?
What are the types of pointer?
What is stoi in c++?
What are the stages in the development cycle?
How do you show the declaration of a virtual constructor?
What is the use of namespace std in C++?
How are pointers type-cast?