Does burning coal give off carbon dioxide?

Yes, the burning of any hydrocarbon produces carbon dioxide. This equation illustrates the burning of a hydrocarbon.

CH4 + 2O2 → CO2 + 2H2O + energy

As you can see carbon dioxide is produced along with water and energy.
Yes burning coal or any carbon based fuel produces carbon dioxide.