Solid can be converted directly to the gaseous state. This process is known as:
Sublimation
The process of converting solid to gas directly is called sublimation.
Ex: Dry ice is solid carbon dioxide. At room temperature it directly changes into gas from solid state.
Camphor, when burnt, directly turns into a gas from solid.