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 an arraylist c++?
What is a unnitialised pointer?
What is difference between n and endl in c++?
Are there any special rules about inlining?
Reads in the size of a square from the screen; 2. Prints a hollow square of that size out of “-“, “|” and blanks on screen; 3. Prints the same hollow square onto a text file. Your program should work for squares of all side sizes between 1 and 20. --- │ │ │ │ │ │ ---
What are c++ files?
What is a Default constructor?
What is iterator in c++?
can any one help to find a specific string between html tags
which is changed to a sting..
weather.html looks (for location) is
Define pointers? Which header file allows file i/o with streams
a) fileio.h
b) iostream.h
c) fstream.h Write a program using shift_half( ) function to shift the elements of first half array to second half and vice versa. What size is allocated to the union variable? what is C++ exceptional handling? What does getch() do according to the ANSI C++ standard
a) Reads in a character
b) Checks the keyboard buffer
c) Nothing in particular (Its not defined there)