Do a careful hand simulation of the following. What are A[0], A[1], A[2] and A[3] after it is finished?
  int A = new int[4];
  int k = 0;
  while(k < 4)
  {
    A[k] = k;
    k++;
  }
  k = 1;
  while(k < 4)
  {
    A[k] = A[k-1] - 1;
    k++;
  }