What is the Maximum Size that an Array can hold?
Answer Posted / adnan sheikh
max.size of array is 2^32
Because each process contains:
maximum numbers of segments per process=16KB
largest segment size= 4GB
defines in 32 bits
Types of segments are:
data segment
code segment
stack segment
heap segment and many more.
Hopefully we will satisfies with my answer.
| Is This Answer Correct ? | 6 Yes | 3 No |
Post New Answer View All Answers
What is the use of 'this' pointer?
Which field is used in c++?
What is polymorphism & list its types in c++?
What is the best c++ compiler?
What is a .lib file in c++?
Why can’t you call invariants() as the first line of your constructor?
What is constructor and destructor in c++?
Does dev c++ support c++ 11?
Why would you use pointers in c++?
What is the difference between the functions rand(), random(), srand() and randomize()?
What can c++ be used for?
What is iostream in c++ used for?
Explain pass by value and pass by reference.
What are smart pointers?
Explain the extern storage classes in c++.