Dear student
1.Electronegativity is the ability of molecule to attract an electron to form a covalent bond. It deals with atoms in a molecule and their tendency to attract electrons.
Electron affinity is the amount of energy released when an electron is gained by some atom. It deals with a single atom.
2. Electronegativity cannot be measured but Electron affinity is a fixed and measurable value.
Regards