October 2004
Beginner
408 pages
9h 24m
English
The previous example just used the addresses of the variables in the printf() function. Now you'll look at how to store these addresses in other variables.
As mentioned earlier, an address is really just a big number. However, you should not treat an address as a regular number and store it in an int or long variable. If you try to do this, the C compiler will complain and emit a warning message (Figure 9.4).
Instead of using the regular numeric variable types to hold addresses, C requires you to ...