Pointers are one of the most powerful features of the C language. Pointers allow you to create quite efficient programs in C. However, the logic behind these programs can be quite tricky. “In C, there is a strong relationship between pointers and arrays, strong enough that pointers and arrays should be discussed simultaneously,” writes Kernighan and Ritchie in their landmark book, The C Programming Language. A pointer is considered to be a derived type in C (see Figure 3-1 in Chapter 3). In this chapter, you will enjoy the recipes made using pointers and arrays.
© Shirish Chavan 2017
Shirish Chavan, C Recipes, https://doi.org/10.1007/978-1-4842-2967-5_4
4. Pointers and Arrays
Shirish Chavan1
(1)Sangli, Maharashtra, India
Get C Recipes: A Problem-Solution Approach 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.