An ionic compound A+B- is most likely to be formed when:

Both the ionization energy of A and electron affinity of B are low

The ionization energy of A is high and electron affinity of B is low

Both the ionization energy of A and electron affinity of B are high

The ionization energy of A is low and electron affinity of B is high