Computer Science, asked by laibamajgankar, 1 month ago

computer class 7th

4. What are constants ? Explain the two types of constants.​

Answers

Answered by rishikaar19
2

In computer programming, a constant is a value that should not be altered by the program during normal execution, i.e., the value is constant. This is contrasted with a variable, which is an identifier with a value that can be changed during normal execution, i.e., the value is variable.Constants are also called as literals. Primary constants − Integer, float, and character are called as Primary constants. Secondary constants − Array, structures, pointers, Enum, etc., called as secondary constants

Similar questions