Chapter-7/7-1/convert.c
/* splitpath:  returns file-name of without path */
returns file-name of without path
returns file - name of without path
char *splitpath(const char *file) {
  int n, i;
  for (i = n = 0; file[i] != '\0'; ++i)
    if (file[i] == SLASH) n = i + 1;
  return strdup(file + n);
}
char * splitpath ( const char * file ) { int n , i ; for ( i = n = 0 ; file [ i ] != ' \0 ' ; ++ i ) if ( file [ i ] == SLASH ) n = i + 1 ; return strdup ( file + n ) ; }
splitpath:  returns file-name of without path
splitpath : returns file - name of without path