O'Reilly logo
  • Ivan Petrov thinks this is interesting:

The construct p[-1] (line 48) looks at the character in front of p, just as p[0] is the current character and p[1] is the next. T


Cover of Linux® Programming by Example


negative indexing.. looks at the character infront of *p. The one before p[0] or the one that is currently being pointed to by p