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 |
If a base class is an adt, and it has three pure virtual functions, how many of these functions must be overridden in its derived classes?
why is c++ called oops? Explain
What is math h in c++?
Write about the various sections of the executable image?
How is new() different from malloc()?
How can you tell what shell you are running on unix system?
What is the use of :: operator in c++?
What is a parameterized type?
Can you Mention some Application of C/C++?
What is c++ course?
Explain how to initialize a const data member.
Define linked lists with the help of an example.