The const key word creates symbolic constants in Cpp. The values declared as const cannot be modified by the program in any way. So it is a way of declaring constants throughout the program.
//using const data type
const int q=10; // const are global in nature.
const char w[q]="\nhello\n";
const char e='k';