Arrays and Slices
# Arrays and Slices
# Arrays
# Slices
# Slice reallocation
# Deletion
# Pitfalls
Since a slice is a pointer to an array, passing a slice into a function will allow the function to modify the original array.
However, if slice reallocation occurs inside this new function, the function will no longer be modifying the original array: To avoid this, we can return the modified array from the func