MCQ IN COMPUTER SCIENCE & ENGINEERING

COMPUTER SCIENCE AND ENGINEERING

DATA STRUCTURES

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
How many elements would the array ‘student ____ marks(10)’ hold?
A
Nine elements
B
Ten elements
C
Eleven elements
D
None of the above
Explanation: 

Detailed explanation-1: -The theoretical maximum Java array size is 2, 147, 483, 647 elements. To find the size of a Java array, query an array’s length property. The Java array size is set permanently when the array is initialized. The size or length count of an array in Java includes both null and non-null characters.

Detailed explanation-2: -We can store elements only up to a [10000000] (10^7) in a array of integers.Is there a way to store even more number of data’s.

Detailed explanation-3: -Array in C can be defined as a method of clubbing multiple entities of similar type into a larger group. These entities or elements can be of int, float, char, or double data type or can be of user-defined data types too like structures.

There is 1 question to complete.