Computer Science, asked by sharvarialsunde12, 2 months ago

constant veritable can be created in c++ by using ​

Answers

Answered by anindyaadhikari13
1

Answer:

  • Constant variable can be created in c++ by using const keyword.

Explanation:

  • The const keyword in c++ is used to declare a constant.
  • For example, if we write - const double PI=3.14159, then the value of PI remains constant. If we try to change its value, then an error message will be shown on the screen.
Similar questions