C36 Answer


/* Puzzle C36 -- rotate array elements one position to the left */
void rotateLeftArray( int arr[], int size )
{
  int j;
  int temp;
  
  temp = arr[0];
  for ( j=0; j<size-1; j++ )
      arr[j] = arr[j+1];
      
  arr[size-1] = temp;
}