In a dihybrid cross in garden pea, 1024 plants were obtained in F₂. How many plants will show dominant traits?
a) 512
b) 768
c) 256
d) 384