What is the Maximum Size that an Array can hold?

Answer Posted / dinesh

The maximum array size can be as per the below formula

TOTAL_RAM-(HEAP_AREA+DATA_SECTION+BSS_SECTION+STACK_SIZE)

DATA and BSS section which are used.
HEAP & STACK which are allocated.

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a binary file? List the merits and demerits of the binary file usagein C++.

730


Where are setjmp and longjmp used in c++?

614


What data structure is fastest, on average, for retrieving data: a) Binary Tree b) Hash Table c) Stack

584


What is jump statement in C++?

615


What is a friend function in c++?

579






What is the difference between method overloading and method overriding in c++?

558


what you know about c++?

661


Which field is used in c++?

633


What does obj stand for?

626


What is virtual destructor ans explain its use?

601


What is data structure in c++?

651


How do I write a c++ program?

596


Explain shallow copy?

610


what is scupper?

1890


How would you differentiate between a pre and post increment operators while overloading?

650