Skip to content
Snippets Groups Projects
Select Git revision
  • 0ba264323975d1dc4dd71499afc9d06ee4ce3d5e
  • master default
2 results

sort-0.c

Blame
  • Forked from Peter Gerwinski / hp
    328 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;
    }