C
Chris Smith
Roedy Green said:In C, a pointer's value is the machine address of the thing pointed
to, even if another pointer. It has no internal hidden indirection.
The specification makes no guarantee of that fact.
Potentially a reference could encode facts about the object or could
be several layers of indirection, e.g. to an out of ram backup.
Because all details of how it works are hidden, that gives maximum
flexibility for implementors.
Yep, that's true of pointers in C, too.
--
www.designacourse.com
The Easiest Way To Train Anyone... Anywhere.
Chris Smith - Lead Software Developer/Technical Trainer
MindIQ Corporation