A colourless solid $$(X)$$ on heating evolved $$\mathrm{CO}_2$$ and also gave a white residue, soluble in water. Residue also gave $$\mathrm{CO}_2$$ when treated with dilute acid. $$(X)$$ is