An array saves memory because here the memory is padded, so there is no space between them and if it is no contagious space then it wastes space.
An array in terms of computer science is a linear data structure, which stores the same type of data in a compact or contagious way and in adjacent memory locations.
As it compacts the data, so it saves space, but when it is not contagious it wastes space at the same time.
Thus, because the memory is padded in an array, there is no gap between them, which would waste space even if it were contagious.
Learn more about array, here:
https://brainly.com/question/13107940
#SPJ1