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 |
Explain Text Manipulation Routines?
What is OOPs
Which is the best c++ software?
What is flush () in c++?
What are access specifiers in C++?
What is doubly linked list in c++?
What does new return if there is insufficient memory to make your new object?
What is the best way to take screenshots of a window with c++ in windows?
How the endl and setw manipulator works?
Memory is not a constraint. In a single iteration(NOTE: you can't go back), how will you find out the 10th last node/item in a linked list.
16 Answers BNB, FDS, Goldman Sachs, Nagarro,
What is c++ hiding?
What are keywords in c++?