Answer: Option (B) is the correct answer.
Step-by-step explanation:
In a covalent bond, the formation of bond occurs by sharing of electrons. This is represented by a long dash when we write the formula.
Whereas ionic bond is formed by transfer of electrons and there are strong force of attraction between the ionic compounds. So, they are represented by a slightly short dash in the formula.