An array is a __________.
2025
An array is a __________.
- A.
Primitive data type
- B.
Non-primitive data type
- C.
Abstract data type
- D.
None of the above
Attempted by 1143 students.
Show answer & explanation
Correct answer: B
In computer science, primitive data types are the simplest forms of data with no additional methods or properties (like int, char, float etc.). An array, however, is a non-primitive (or composite) data type as it can store multiple values of the same primitive type in contiguous memory locations.