< previous page page_975 next page >

Page 975
0975-01.gif
Figure 17-4
Results of Assignment Statements
stores the null pointer into intPtr. This statement does not cause intPtr to point to memory location zero; the null pointer is guaranteed to be distinct from any actual memory address. Because the null pointer does not point to anything, we diagram the null pointer as follows, instead of using an arrow to point somewhere:
0975-02.gif
Instead of using the constant 0, many programmers prefer to use the named constant NULL that is supplied by the standard header file stddef.h:

 
< previous page page_975 next page >