Book
Collection
Click for Table of Contents
© 2025 by Rance D. Necaise
C Primer for Python Programmers
Copyright © 2025
Rance D. Necaise

7.9 Array Modification Algorithms

If a function changes the size of a subarray, it must tell the caller how many elements the array has after the function returns. There are two common approaches, but the easiest way is to return the new size. Suppose