Hydrogen cyanide, HCN, is a highly toxic gas on Earth. Its isomer hydrogen isocyanide, HNC, in which hydrogen is bonded to nitrogen instead of carbon, has been detected in cold interstellar clouds, but on Earth it quickly changes into HCN.
(a) Draw the Lewis structures of H–C≡N and H–N≡C, showing all lone pairs.
(b) Calculate the formal charges on carbon and nitrogen in each structure.
(c) Use the formal charges to explain which isomer is more stable.

