Which of the following statements about Array is false?

2016

Which of the following statements about Array is false?

  1. A.

    It requires allocated memory blocks to be consecutive.

  2. B.

    A single array can store both integer and float (real) values.

  3. C.

    It can be used to implement Stack and Queue.

  4. 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.

Explore the full course: Btsc Lab Assistant