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


Please Help Members By Posting Answers For Below Questions

Write about the retrieval of n number of objects during the process of delete[]p?

567


Is c++ double?

555


Explain the differences between private, public and protected and give examples.

564


Should I learn c++ c?

601


If there are two catch statements, one for base and one for derived, which should come first?

567






What is fixed in c++?

580


What is the basic difference between C and C++?

618


Carry out conversion of one object of user-defined type to another?

603


When we use Abstract Class and when we use Interface?where we will implement in real time?

1662


What are the five basic elements of a c++ program?

573


What is the last index number in an array of 100 characters a) 100 b) 99 c) 101

585


What is const pointer and const reference?

585


Can there be at least some solution to determine the number of arguments passed to a variable argument list function?

595


What is the difference between public and private data members?

656


What is pointer to member?

597