```python
def re_arrange_array(arr, n):
    """
    Re-arranges the elements of the given array so that all negative
    elements appear before positive ones (and zero).
    This function modifies the array in-place.

    Args:
        arr: The list of integers to be re-arranged.
        n: The number of elements in the array.
    """
    j = 0  # This will be the insertion point for the next negative number
    for i in range(n):
        # If the current element is negative
        if arr[i] < 0:
            # Swap the negative element with the element at the insertion point
            if i != j:
                arr[i], arr[j] = arr[j], arr[i]
            # Move the insertion point to the right
            j += 1
```