Step 1: Understanding the Concept
Mendel's law of segregation states that the two alleles of a gene present in an individual separate from each other during gamete formation.
Step 2: Apply the law
Because the alleles separate, each gamete receives only one allele of each gene. The gamete is therefore pure for that trait.
Step 3: Conclusion
The paired condition is restored only at fertilisation, when two gametes fuse. So a gamete contains one allele of a gene.
Final Answer:
A gamete generally contains one allele of a gene.
\[ \boxed{\text{(B) }\text{one allele of a gene}} \]