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
Can we make any program in c++ without using any header file and what is the shortest program in c++.
What is == in programming?
Is linux written in c or c++?
When does a name clash occur in c++?
Can we get the value of ios format flags?
Explain all the C++ concepts using examples.
What is abstraction in c++ with example?
Will a recursive function without an end condition every quit, in practice a) Compiler-Specific (Some can convert to an infinite loop) b) No c) Yes
How do you show the declaration of a virtual constructor?
What are the 3 levels of programming languages?
How to implement is-a and has-a class relationships?
How many types of modularization are there in c++?
Is c++ the best programming language?
Write about all the implicit member functions of a class?
What is the advantage of c++ over c?