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
What is lvalue?
What is the syntax for a for loop?
What do you mean by late binding?
What is recursion?
Write about the local class and mention its use?
What is the difference between a type-specific template friend class and a general template friend class?
How are Structure passing and returning implemented by the compiler?
Describe delete operator?
What are c++ stream classes?
What is the use of typedef?
Can notepad ++ run c++?
What is meant by the term name mangling in c++?
What is rtti in c++?
How do you initialize a string in c++?
What is pointer -to-members in C++? Give their syntax?