Home Segments Index Top Previous Next

337: Mainline

Accordingly, you can arrange for the value of nptr—a pointer variable declared using the statement int *nptr;—to be the address of the first element in the number array:

            *-- Identifies first array element 
            v 
        --------- 
nptr = &number[0]; 
       ---------- 
           ^ 
           *-- Identifies address of first array element