Skip to content
Snippets Groups Projects
Select Git revision
  • 4ff440eaac9aee21bd0a6c7f5ce7927ee4cd9b94
  • master default
2 results

sort-0.c

Blame
  • Forked from Peter Gerwinski / hp
    341 commits behind the upstream repository.
    sort-0.c 379 B
    #include <stdio.h>
    
    int find_first (char **name)
    {
      return 2;
    }
    
    int main (void)
    {
      char *name[] = { "Otto", "Lisa", "Anna", "Heinrich", "Siegfried", "Peter",
                       "Dieter", "Hugo", "Berta", "Maria", "Fritz", "Box", "Hans",
                       "Thomas", "Ulrich", "Zacharias", NULL };
      int first = find_first (name);
      printf ("%s\n", name[first]);
      return 0;
    }