Suppose we have
char array[10];
C allows taking the address of array[10] (ie &array[10] is valid)
though the element array[10] cannot be accessed.
Is this allowed for use in binary search method (as given in K & R
second edition page 137) or is there any other reason ?
char array[10];
C allows taking the address of array[10] (ie &array[10] is valid)
though the element array[10] cannot be accessed.
Is this allowed for use in binary search method (as given in K & R
second edition page 137) or is there any other reason ?
Comment