I am working on an assignment that asks for a single statement to satisfy the following:
Without using the fp pointer, and without using square brackets, set the fourth element (i.e., the one at index 3) of the fish array to have the value "salmon".
Prior to this portion of the assignment, a 5 element array - fish - was created as well as *fp which points to fish.
I can only think of one possible way to assign "salmon" to fish[3] without square brackets. One would be to create another pointer that points to the first element, and then move the pointer to point at the 4th element. Unfortunately, this is not a single statement.