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


Please Help Members By Posting Answers For Below Questions

What is the sequence of destruction of local objects?

626


What are the storage qualifiers?

752


What is the two main roles of operating system?

597


what is upcasting in C++?

821


Describe protected access specifiers?

773






What are the stages in the development cycle?

665


What is the use of default constructor?

656


Write about the role of c++ in the tradeoff of safety vs. Usability?

680


What is the use of dot in c++?

711


What is the keyword auto for?

670


What is a tree in c++?

635


What is the difference between equal to (==) and assignment operator (=)?

665


What is insertion sorting?

762


What is == in programming?

702


Can you overload the operator+ for short integers?

686