The correct option is A NaCl has higher lattice energy than MgO.
L.E=kq1q2r
where, k=proportionality constant,
q1,q2 are the charges on the ions and
r is the shortest distance between the centers of cations and anions.
Lattice energy is proportional to the charge on the ions and inversely proportional to the size of ions. Also, between charge and size, charge is the dominating factor.
The product of charges for NaCl is |(+1)(−1)| and for MgO is |(+2)(−2)|.
Hence, lattice energy is more for MgO than NaCl.