Which of the following happens when an ionic bond is formed?

A. One atom pulls an electron from another atom.

B. Two atoms attain equal electronegativities.

C. One atom becomes more electronegative than another atom.

D. Two atoms share an electron.