"Understanding Pointers in C" by Yashwant Kanetkar is a compact, crystal-clear guide that demystifies one of C's toughest topics. Ideal for beginners and for C programmers looking to solidify fundamentals, Kanetkar breaks down pointers with practical examples, step-by-step diagrams, and focused exercises. This edition (1763) offers concise explanations, common pitfalls, and hands-on problems that build confidence quickly — a must-read for anyone serious about mastering C’s memory model.

  1. Pointer basics: The book covers the fundamental concepts of pointers, including their declaration, initialization, and usage.
  2. Pointer arithmetic: Kanetkar explains pointer arithmetic operations, such as increment, decrement, and comparison.
  3. Arrays and pointers: The book discusses the relationship between arrays and pointers, including how to access array elements using pointers.
  4. Dynamic memory allocation: The author explains dynamic memory allocation techniques, such as malloc(), calloc(), and free().

Conclusion

int x = 10; int *ptr = &x;

The "Kanetkar" Methodology: Why This Book?