Chapter 7. Using Pointers and Structure

In this chapter, we will learn about pointers and structure of C programming using Arduino. We had a brief introduction to the pointer in the preceding chapter, while learning about the characteristics of object-oriented programming. This chapter will be a detailed discussion of pointers, reference points, and a new thing: structure. We will also discuss pointer types, pointers and arrays, how can we use pointers, use of structure, and so on. So, let's start our journey.

Pointers

Well, from the preceding chapter, you might remember the definition of pointers. Let's recap so that we can look at a better definition and learn about the usages of pointers.

You already know that a variable holds data. Say, an integer ...

Get Learning C for Arduino now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.