Step 1: Understanding the Concept
Doping with trivalent atoms creates holes, and doping with pentavalent atoms adds free electrons.
Step 2: p-type
Trivalent impurities (such as boron) leave vacancies, so holes are the majority carriers.
Step 3: n-type
Pentavalent impurities (such as phosphorus) donate electrons, so electrons are the majority carriers.
Final Answer:
Holes are majority carriers in p-type and electrons in n-type.
\[ \boxed{\text{(A) }\text{holes and electrons}} \]