The situation that is an example of altruistic behavior is:
A child shares an apple.
Altruistic behavior involves acting out of concern for the well-being of others, often at a cost to oneself. Sharing an apple demonstrates this selfless consideration.