Answer:
A) Both animals are detrivores, and they fill the same niche in different environments.
Step-by-step explanation:
Niche of an organism refers to its habitat, activity role and functional position within system. Detritivores are the organisms that feed on dead and decaying organic matter and serve to release the nutrients back in the environment. Since both shrimp and cockroach feed on dead and decaying organic matter, both are detritivorous. Being found in different habitat, they fulfill the same niche (same functional role, that is, the role of detritivore) in different environments.