Chapter 9, 9.5

1. What happens when the programmer tries to access an array cell whose index is greater than or equal to its logical size? — It will give you the default value of zero, and to add another value we just need to expand the size of of the logical size. 2. Describe an application that uses an array that might not be full. — For example, create a class with 5 kids in the class and leave some spaces for upcoming students.

Leave a Comment