The correct option is
D Both A and C
The excretion of nitrogenous wastes in the form of ammonia is known as ammonotelism and performed by the ammonotelic animals. The aquatic invertebrates like molluscs and cephalopods excrete the wastes in the form of ammonia which is readily soluble in the aquatic environment. Some species of molluscs are known to be ureotelic which convert the ammonia to urea for storage for some time in the body.
Thus, the correct answer is option D.