Home Segments Index Top Previous Next

344: Mainline

If number is the name of an array, then the value of number, without any brackets, is the address of the first element in the array. Thus, the value of number and the value of &number[0] are the same. Accordingly, most seasoned C programmers never write nptr = &number[0]; instead, they write the following:

nptr = number;