Chapter 6. Working with Arrays

Most of the examples in this book have dealt with two general data types: numbers and characters. These are useful, common variables but nowhere near as potent as arrays, the type you'll learn about in this chapter.

Before we start working with arrays, we'll introduce the concept, the syntax, and how to go about defining arrays. After that, we'll run through two methods of assigning values to your arrays. Then, we'll access the assigned values and print them out. Finally, we'll examine four key array-related ideas: using constants to define arrays, using loops with arrays, working with character arrays, and working with multidimensional arrays.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset