Home Segments Index Top Previous Next

308: Mainline

In general, the amount of memory consumed by a pointer is determined by the designers of your C compiler. The programs in this book were tested using an implementation in which all pointers consist of 4 bytes, enabling the addressing of 232 memory locations.

You need not know how much memory is consumed by a pointer, however, because the correct amount is determined by the C compiler.