Chapter 8
Arrays
In this chapter, you will:
Learn how to declare an array
Fill an array
Retrieve data from an array
Place code in memory for faster processing
Extract a single element from an array
Resize arrays while looping
Pass an array to another procedure or function
An array is a type of variable that can be used to hold more than one piece of data. For example, if you have to work with the name and address of a client, your first thought might be to assign one variable for the name and another for the address of the client. Instead, consider using an array, which can hold both pieces of information—and not for just one client but for thousands.
Note
I consider this chapter the first step in leveling up your programming skills. By ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access