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 are the basics concepts of OOPS?
What are the conditions that have to be met for a condition to be an invariant of the class?
Why main function is special in c++?
What is the difference between structure and class?
How does throwing and catching exceptions differ from using setjmp and longjmp?
What are the advantages and disadvantages of using inline and const?
2 Answers Polaris, TCS, Zimmer Biomet,
Why c++ is better than c language?
What is the default access level?
What is a parameterized type?
Evaluate as true or false: !(1 &&0 || !1) a) True b) False c) Invalid statement
What are formatting flags in ios class?
Is c++ a difficult language?