Skip to content
Snippets Groups Projects
Select Git revision
  • MPeth-2022ws-patch-01682
  • 2022ws default protected
  • 2021ws
  • 2020ws
  • 2019ws
  • 2019ss
  • 2018ws
  • 2017ws
  • 2017ss
  • 2016ws
  • 2016ss
  • 2015ss
12 results

arrays-44.c

Blame
  • Forked from Peter Gerwinski / es
    248 commits behind the upstream repository.
    arrays-44.c 284 B
    #include <stdio.h>
    
    int main (void)
    {
      typedef char *string5[5];
      char **p0 = { "Dies", "ist", "ein", "Test" };
      char *p1[] = { "Dies", "ist", "ein", "Test" };
      string5 *p = { "Dies", "ist", "ein", "Test" };
      for (int i = 0; i < 4; i++)
        printf ("%s\n", &p[i]);
      return 0;
    }