📢 Too many exams? Don’t know which one suits you best? Book Your Free Expert 👉 call Now!

  • google app store apple app store
  • ✖

      Question

      What is the primary disadvantage of using an array as a

      data structure?
      A Elements cannot be accessed randomly. Correct Answer Incorrect Answer
      B It is a non-linear data structure. Correct Answer Incorrect Answer
      C The amount of memory to be allocated must be known beforehand. Correct Answer Incorrect Answer
      D Insertion and deletion operations are always efficient. Correct Answer Incorrect Answer
      E It cannot store different data types. Correct Answer Incorrect Answer

      Solution

      Answer: c) The amount of memory to be allocated must be known beforehand.

      Practice Next
      ask-question