Can someone explain to me what is the difference between array size and array capacity? Thanks
1/16/2020 2:20:35 AM
VuthinaRoeun2 Answers
New AnswerInstead of allocating a new element one at a time as the array grows. They allocate a group of them. Capacity is how many have been allocated. Size is how many are used.
Sololearn Inc.
535 Mission Street, Suite 1591Send us a message