O'Reilly logo

Absolute Beginner’s Guide to C, 2nd Edition by 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. How Does C Work with Lists?

Using Arrays

image

The really nice thing about this chapter is that it covers absolutely nothing new. You’ve worked with arrays when you’ve stored strings in character arrays throughout this book. 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 ...

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