Computer Science, asked by popominor16, 4 hours ago

Write the syntax and example for constant declaration in C++(

Answers

Answered by aadarshdwivedi000
0

Answer:

const keyword is used to declare a constant in C/C++ language, here is the syntax of constant declaration: const data_type constant_name = value; Here, const is a keyword, which specifies that, constant_name is a constant and we cannot change its value.

Answered by Anonymous
0

 \sf{Answer}

  • const keyword is used to declare a constant in C/C++ language, here is the syntax of constant declaration: const data_type constant_name = value; Here, const is a keyword, which specifies that, constant_name is a constant and we cannot change its value.

 \sf{Answer\:by\:UnicornRahuL}

Similar questions