C++ : Understanding pointers
Sep 17, 2009, 15:02 (5 Talkback[s])
Full Text Search: The Key to Better Natural Language Queries for NoSQL in Node.js
[ Thanks to linuxconfig.org for this link.
"2. What is a Pointer?
"Pointer is a variable that stores a memory address. OK, that is
simple ! But, what is a memory address then? Every variable is
located under unique location within a computer's memory and this
unique location has its own unique address, the memory address.
Normally, variables hold values such as 5 or "hello" and these
values are stored under specific location within computer memory.
However, pointer is a different beast, because it holds the memory
address as its value and has an ability to "point" ( hence pointer
) to certain value within a memory, by use of its associated memory
"3. Retrieving a Variable's Memory Address
"OK, enough talking and let's get down to the pointer business.
To retrieve a variable's memory address, we need to use address-of
- Null pointers, one month later(Sep 01, 2009)
- Linux NULL pointer dereference due to incorrect proto_ops initializations(Aug 14, 2009)
- Fun with NULL pointers, part 2(Jul 31, 2009)
- Fun with NULL pointers, part 1(Jul 31, 2009)
- Book Review: C Programming: A Modern Approach by K. N. King(Nov 20, 2008)
- C Semantics, Constants and Pointers(Jan 19, 2008)