computer class 7th
4. What are constants ? Explain the two types of constants.
Answers
Answered by
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
Math,
26 days ago
Math,
26 days ago
Math,
26 days ago
English,
1 month ago
Computer Science,
9 months ago
India Languages,
9 months ago