What is the Maximum Size that an Array can hold?
Answers were Sorted based on User's Feedback
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 |
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 |
Answer / ashif ali
infinity and it is also depend on the size of the program.
Is This Answer Correct ? | 0 Yes | 5 No |
Answer / guest
the array can hold only the no of elements given in braces
Is This Answer Correct ? | 0 Yes | 5 No |
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 |
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; }
What is a storage class used in c++?
Where can I run c++ program?
Name the implicit member functions of a class.
What are the comments in c++?
What does ios :: app do in c++?
Can we use this pointer inside static member function?
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?
Explain this pointer?
What is 'Copy Constructor' and when it is called?
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.