Interview Questions   Tutorials   Discussions   Programs   Videos   

C++ - What is the Maximum Size that an Array can hold?




270
views
asked marvit August 18, 2014 12:35 PM  

What is the Maximum Size that an Array can hold?


           

1 Answers



 
answered By bhjahnavi   0  
Return maximum size
Returns the maximum number of elements that the array container can hold.
The max_size of an array object, just like its size, is always equal to the second template parameter used to instantiate the array template class.
flag   
   add comment

Your answer

Join with account you already have

FF

Preview


Ready to start your tutorial with us? That's great! Send us an email and we will get back to you as soon as possible!

Alert