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 / sankalp bose

For arrays allocated on the stack, it depends upon the
maximum stack size. For example, for gcc, it is normally 64K
but may be something else. For arrays allocated dynamically
or arrays defined in global/static scope, this number is
different and depends upon the maximum heap area size and
the maximum data segment size respectively. The getrlimit
system call can be used to get all these values.

Is This Answer Correct ?    3 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

In the derived class, which data member of the base class are visible?

1067


Is it possible to provide special behavior for one instance of a template but not for other instances?

1054


What return value must conversion operators have in their declaration?

1028


What is a c++ map?

1295


Write a program to find the reverse Fibonacci series starting from N.

1161


Would you rather wait for quicksort, linear search, or bubble sort on a 200000 element array? (Or go to lunch...) a) Quicksort b) Linear Search c) Bubble Sort

989


What is scope resolution operator in c++ with example?

977


How do pointers work?

1127


What do manipulators do?

957


What is buffering in c++?

1013


What do you mean by vtable and vptr in c++?

985


Can member data be public?

990


Why null pointer is used?

995


What is a pdb file?

938


What is #include iostream h in c++?

1090