• +994502873037
  • muraciet@azcredit.az

A pointer is a variable that stores the memory address of another variable. Think of it as a label that tells the program where a value lives in memory, not the value itself.

Pointers are a fundamental concept in the C programming language, and mastering them is crucial for any aspiring C programmer. Yashwant Kanetkar's book, "Understanding Pointers in C," is a highly acclaimed resource that provides in-depth coverage of pointers and their applications in C. In this write-up, we will review the key concepts covered in the book and provide an overview of its contents.

A few small code typos have been noted by the community over its various editions (such as array pointer syntax errors), though most are easily spotted if you are actively compiling the code.

He passed. And years later, when he became a senior engineer, he uploaded his own scanned notes online. Somewhere in page 103, he left a sticky note:

Furthermore, the chapter on "Pointers and Functions" effectively explains . Many students struggle to grasp why modifying a variable inside a function doesn't reflect outside unless a pointer is passed. The book uses simple swap programs to demonstrate this, cementing the concept of passing addresses rather than values.

Understanding pointers requires mastering two specific operators: