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

What is meant by forward referencing and when should it be used?

564


Which one is better- macro or function?

661


Write a program which uses Command Line Arguments

640


Can we use clrscr in c++?

536


Why is c++ still popular?

589






Describe new operator?

626


What does it mean to declare a member function as static?

614


Can you pass an array to a function in c++?

546


Which operator cannot overload?

549


Explain what are single and multiple inheritances in c++?

563


Does a derived class inherit or doesn't inherit?

620


Discuss the effects occur, after an exception thrown by a member function is unspecified by an exception specification?

644


What is the use of pointer in c++ with example?

563


What is protected inheritance?

602


Is multimap sorted c++?

562