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 difference between class and function?

577


Write a program which uses Command Line Arguments

621


What is c++ iterator?

631


How do I exit turbo c++?

576


Which recursive sorting technique always makes recursive calls to sort subarrays that are about half size of the original array?

601






Explain the register storage classes in c++.

660


What is insertion sorting?

655


What are proxy objects in c++?

634


Explain the concept of dynamic allocation of memory?

612


Can you be able to identify between straight- through and cross- over cable wiring? And in what case do you use straight- through and cross-over?

610


What is the extension of c++?

506


What is general form of pure virtual function? Explain?

504


Why is that unsafe to deal locate the memory using free( ) if it has been allocated using new?

616


What are the various arithmetic operators in c++?

567


What is the purpose of template?

600