error.c:


int main()
{
  int a[4] = {1, 2, 3, 4};
  int i = 0;

  while (i < 4)
  {
    i = i + 1;
    printf("%d\n", a[i]);
  }
}