![]() |
![]() |
![]() |
![]() |
![]() |
|
Next, you learned in Chapter 21 that, when you define an array, the array name becomes a constant, the value of which is a pointer to the first element of the array.
Thus, the input_buffer symbol is really a constant, and its value is
a pointer to the first element of the input_buffer array:
input_buffer
*--------*--------*
|00000011|10011000|
*--------*--------*
-----------------
|
| 0 1 2 3 <----- Array index
| | | | |
v v v v v
-------- -------- -------- -------- ------
----*--------*--------*--------*--------*----
| | | | |
---*--------*--------*--------*--------*-----
920 921 922 923 924