What is the Maximum Size that an Array can hold?
Answer Posted / 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 |
Post New Answer View All Answers
Is it possible to provide special behavior for one instance of a template but not for other instances?
Write a program to interchange 2 variables without using the third one.
What is function overloading c++?
Can you please explain the difference between overloading and overriding?
What are iterators in c++?
If a function doesn’t return a value, how do you declare the function?
What is array in c++ example?
What is :: operator in c++?
Write a Program for dynamically intialize a 2 dimentional array. Eg:5x20, accept strings and check for vowels and display the no.finally free the space allocated .
How can you quickly find the number of elements stored in a static array? Why is it difficult to store linked list in an array?
Do inline functions improve performance?
an integer constant must have atleast one a) character b) digit c) decimal point
Explain one-definition rule (odr).
Can we distribute function templates and class templates in object libraries?
What is a c++ class?