What is the Maximum Size that an Array can hold?
Answers were Sorted based on User's Feedback
Answer / alok
Dude in C memory management we have for segments namely
data code heap and stack. any local variable resides in
stack. Hence array should be less than size of stack. Please
refer memory models in C to find stack size. similar is true
for global array. That will reside in data segment.
Is This Answer Correct ? | 4 Yes | 14 No |
Answer / mousam sahu
array is a derived data type which is used to store
different data items of same data type and same purpose
with a common name
array gives static memory allocation it means
the size of array can not be changed during programe
execution .
array index always starts from zero andends at (n-1) if
the array size is n.
Is This Answer Correct ? | 3 Yes | 15 No |
What is std :: flush?
Implement stack operations with pointers with appropriate exception checks.
write infinite loop in C++ which does not use any variable or constant?
What problem does the namespace feature solve?
List the issue that the auto_ptr object handles?
tell me about yourself ?i want answer for frehers with various exasmples?
What are the techniques you use for debugging?
Do you know what are the new features that iso/ansi c++ has added to original c++ specifications?
how to explain our contribution in the project?
What are the defining traits of an object-oriented language?
Is it possible to use a new for the reallocation of pointers ?
What is a binary file? List the merits and demerits of the binary file usagein C++.