Explanation:
In terms of ionic compound , i.e. , the compound formed by two oppositely charged atom , i.e. , cation and anion ,
The coordination number is basically the number of cations that are surround a particular anion ,
similarly ,
the number of anions surrounding a particular cation gives the coordination number of the ionic crystal .
In both case , the answer will be same .