What is the Maximum Size that an Array can hold?

Answers were Sorted based on User's Feedback



What is the Maximum Size that an Array can hold?..

Answer / leo

It belongs toich s us the size of the RAM . which is used
in the particular system.

Is This Answer Correct ?    0 Yes 3 No

What is the Maximum Size that an Array can hold?..

Answer / aditi

it depends on compiler to compiler.

Is This Answer Correct ?    1 Yes 4 No

What is the Maximum Size that an Array can hold?..

Answer / manoj

The size in Arrays is basically of type int. An int in java
is of 32 bits, so the maximum size we can give is 2,147,483,647.

Is This Answer Correct ?    0 Yes 4 No

What is the Maximum Size that an Array can hold?..

Answer / arvind giri

java.lang.Integer.MAX_VALUE + 1

Is This Answer Correct ?    6 Yes 11 No

What is the Maximum Size that an Array can hold?..

Answer / ashif ali

infinity and it is also depend on the size of the program.

Is This Answer Correct ?    0 Yes 5 No

What is the Maximum Size that an Array can hold?..

Answer / guest

the array can hold only the no of elements given in braces

Is This Answer Correct ?    0 Yes 5 No

What is the Maximum Size that an Array can hold?..

Answer / shubhra pal

INFINITY

Is This Answer Correct ?    0 Yes 5 No

What is the Maximum Size that an Array can hold?..

Answer / kumar

infinity

Is This Answer Correct ?    0 Yes 5 No

What is the Maximum Size that an Array can hold?..

Answer / namitha

An array can hold the declared number size..
that is the size specified by the user

Is This Answer Correct ?    0 Yes 6 No

What is the Maximum Size that an Array can hold?..

Answer / arvind giri

Oooops I thought its a java question

Is This Answer Correct ?    3 Yes 12 No

Post New Answer

More C++ General Interview Questions

template<class T, class X> class Obj { T my_t; X my_x; public: Obj(T t, X x) : my_t(t), my_x(x) { } }; Referring to the sample code above, which one of the following is a valid conversion operator for the type T? a) T operator T () { return my_t; } b) T operator(T) const { return my_t; } c) operator(T) { return my_t; } d) T operator T (const Obj &obj) { return obj.my_t; } e) operator T () const { return my_t; }

1 Answers   Quark,


What is a storage class used in c++?

0 Answers  


Where can I run c++ program?

0 Answers  


Name the implicit member functions of a class.

0 Answers  


What are the comments in c++?

0 Answers  


What does ios :: app do in c++?

0 Answers  


Can we use this pointer inside static member function?

0 Answers  


What is encapsulation in C++? Give an example.

0 Answers   HAL, Honeywell, Zomato,


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?

0 Answers  


Explain this pointer?

0 Answers  


What is 'Copy Constructor' and when it is called?

1 Answers  


what is the size of this class class size { public: char data1; double d; int data2; char data3; double data4; short data5; }; please explain the padding for these double variables.

9 Answers  


Categories