I am working with a small array, in the form of an int pointer. For the sake of example, the array has 3 elements, [0, 1, 2].
I want to, based on a check, take an ele