Answer: d) They both have the same number of atoms.
Step-by-step explanation:
A mole is defined as the amount of substance that contains Avogardro number of the substance. Avogadro's number is given by 
. 

According to avogadro's law, 1 mole of every substance weighs equal to its molecular mass and contains avogadro's number 

Thus 1 mole of magnesium and iron both contains 
 particles.