Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What is the Maximum Size that an Array can hold?

Answer Posted / reejusri

Maximum size has nothing to do with only the stack area,
but the area where the array is allocated from. The OP did
not say whether the array was created from dynamic memory
(a.k.a the heap), block or local memory (a.k.a. the stack),
or where automatic variables are declared.

The amount of memory available depends on:
1. The total memory on the platform.
2. The amount of memory allocated to the program.
3. The compiler's settings.

Is This Answer Correct ?    17 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write a corrected statement in c++ so that the statement will work properly. if (4 < x < 11) y=2*x;

1958


Can we inherit constructor in c++?

1020


What does it mean to declare a member variable as static?

1004


Do class declarations end with a semicolon?

1027


Explain class invariant.

988


Explain friend class?

1083


How do you initialize a string in c++?

938


Explain stack unwinding.

1017


What language is a dll written in?

963


What is prototype for that c string function?

1071


What is the difference between global int and static int declaration?

948


what is the difference between overloading & overriding? give example.

1099


Do the names of parameters have to agree in the prototype, definition, and call to the function?

976


Define namespace in c++?

997


Perform addition, multiplication, subtraction of 2-D array using Operator Overloading.

3792