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 encapsulation in c++ with example?

755


Write about the various sections of the executable image?

758


Explain what is class definition in c++ ?

802


How do you initialize a string in c++?

743


Difference between strdup and strcpy?

876


What is meaning of in c++?

918


How is c++ different from java?

783


Which is not a valid keyword a) public b) protected c) guarded

1000


Should I learn c++ c?

815


What is a c++ vector?

781


What is the difference between prefix and postfix versions of operator++()?

819


What is virtual destructor? What is its use?

793


What is abstract keyword in c++?

823


declare an array of structure where the members of the structure are integer variable float variable integer array char variable access all elements of the structure using dot operator and this pointer operator

2038


How can you specify a class in C++?

1009