Number of moles of unit cells present in 40 g of solid (AB) (formula mass of AB=10) having rock salt type structure is 1.
Rock salt (NaCl) type structure has fcc arrangement with 4 formula units of solid AB present per unit cell.
Weight of solid =40 g
Molecular weight of solid =10 g/mol
Number of moles of solid =40g10g/mol=4moles
Number of moles of unit cells =number of moles4=44=1