Computer Science, asked by rohinidurgappa53723, 5 months ago

explain constants in c++ with suitable example​

Answers

Answered by HBSSubhash
0

Answer:

Hèy Friend

Here is your answer to your question

Mark my answer as brainliest and thank me

Explanation:

Advertisements. Constants refer to fixed values that the program may not alter and they are called literals. Constants can be of any of the basic data types and can be divided into Integer Numerals, Floating-Point Numerals, Characters, Strings and Boolean Values.

In Algebra, a constant is a number on its own, or sometimes a letter such as a, b or c to stand for a fixed number. ... Example: in "x + 5 = 9", 5 and 9 are constants.

Similar questions