O'Reilly logo

C Programming Absolute Beginner’s Guide, Third Edition by Dean Miller, Greg Perry

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

21. Dealing with Arrays

In This Chapter

Reviewing arrays

Putting values in arrays

The really nice thing about this chapter is that it covers absolutely nothing new. You’ve already worked with arrays throughout the book when storing strings in character arrays. This chapter simply hones that concept of arrays and demonstrates that you can create an array of any data type, not just the char data type.

As you know, an array of characters is just a list of characters that has a name. Similarly, an array of integers is just a list of integers that has a name, and an array of floating-point values is just a list of floating-point values that has a name. Instead of referring to each of the array elements by a different name, you refer to them ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required