Which of the following statements about Array is false?
2016
Which of the following statements about Array is false?
- A.
It requires allocated memory blocks to be consecutive.
- B.
A single array can store both integer and float (real) values.
- C.
It can be used to implement Stack and Queue.
- D.
It is a linear data structure.
Attempted by 229 students.
Show answer & explanation
Correct answer: B
An array is a homogeneous data structure, meaning it can only store elements of the same data type. A single array cannot store a mix of integers and floats. Since the question asks for the false statement, option B is the correct choice.