CHAPTER 9

images

Using Pointers Effectively

This chapter is a continuation of Chapter 8. In that chapter, you learned what a pointer is and how to manipulate them in expressions. In this chapter, you will learn:

  • Valid pointer operations
  • Pointer arithmetic
  • Using pointers to functions
  • The Right-Left Rule for deciphering complex data definitions
  • Why using pointers can lead to more efficient code

When you have finished this chapter, you should be quite comfortable using pointers in your code.

Relational Operations and Test for Equality Using Pointers

Some C expressions make sense with almost any data type...with the exception of pointers. A partial ...

Get Beginning C for Arduino: Learn C Programming for the Arduino and Compatible Microcontrollers 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.