Skip to content
Snippets Groups Projects
Select Git revision
  • d48edcd327479e7a230e1a34684f251a5cd47337
  • master default protected
  • 2018ws
  • 2017ws
  • 2016ws
5 results

arrays-2.c

Blame
  • Forked from Peter Gerwinski / hp
    46 commits behind the upstream repository.
    arrays-2.c 169 B
    #include <stdio.h>
    
    int main (void)
    {
      int prime[5] = { 2, 3, 5, 7, 11 };
      int *p = prime;
      int i;
      for (i = 0; i < 5; i++)
        printf ("%d\n", p[i]);
      return 0;
    }