What are the advantages and disadvantages of a single dimensional array?.
Explain it with proper examples.
Answers
Answered by
4
Answer:
Arrays represent multiple data items of the same type using a single name. In arrays, the elements can be accessed randomly by using the index number. Arrays allocate memory in contiguous memory locations for all its elements. Hence there is no chance of extra memory being allocated in case of arrays.
Explanation:
hope it helps you
plzz mark me as ur brainliast
plzz follow me ❤️❤️❤️
Similar questions