What is the Maximum Size that an Array can hold?

Answer Posted / rajat paliwal

Actually it depends on which mode you are programming.
if ur workin in normal c complier i.e. in dos (16 bit)
then maximum size for
char-> 65535
int ->65535/2=32767
float->32767/2=16382
..
however if you are working in 32 bit operating enviroment
like in VC++
then the maximum size for char = 2 raisec to power 32..
like that..

Is This Answer Correct ?    14 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Does a derived class inherit or doesn't inherit?

618


Which is best c++ or java?

610


When is the destructor called?

604


How do I run c++?

574


What is pointer to member?

599






What is an iterator?

688


Explain binary search.

576


What is a map in c++?

582


What is c++ programming language?

578


Why we use #include conio h in c++?

593


How do you import payscale data from non SAP to SAP?is it through LSMW or any other way is there?

3202


What is an overflow error?

617


When do we use copy constructors?

593


What is a Default constructor?

919


what are the iterator and generic algorithms.

1687