The correct option is C Both A and B
Gastric acid production is regulated by both the autonomic nervous system and endocrine hormones. The parasympathetic nervous system, via the vagus nerve, and the hormone gastrin stimulate the parietal cell to produce gastric acid, both directly acting on parietal cells and indirectly, through the stimulation of the secretion of hormone histamine from enterochromaffin-like cells. thus, the correct answer is option C.