What is the Maximum Size that an Array can hold?
Answer Posted / prasant
It depends on the stack size. If the compiler option is
chosen as default then the default stack size is 1MB and an
array can be allocated upto 1MB size. If the array size
exceeds this limit then the program will throw stack
overflow error.
| Is This Answer Correct ? | 16 Yes | 15 No |
Post New Answer View All Answers
Is c++ low level?
How would you differentiate between a pre and post increment operators while overloading?
Write a single instruction that will store an EVEN random integer between 54 and 212 inclusive in the variable myran. (NOTE only generate EVEN random numbers)
Is c or c++ more useful?
What is pointer in c++ with example?
Why do we use string in c++?
What is a dangling pointer in c++?
Why is main function important?
How do I make turbo c++ full screen?
Write about the access privileges in c++ and also mention about its default access level?
What is scope resolution operator in c++ with example?
What is the difference between multiple and multilevel inheritance in c++?
What is a sequence in c++?
Will rust take over c++?
Is c++ a programming language?