Get premium membership and access questions with answers, video lessons as well as revision papers.

Give the three main types of constants.

      

Give the three main types of constants.

  

Answers


Kavungya
1. Enumerated Constants: This is a constant that creates a set of constants with a range of values.
2. Literal Constant: This is a value that is typed directly into the program whenever it is needed. E.g. int MyAge = 35;
MyAge is a variable of type int, whereas 35 is a literal constant
3. Symbolic Constants: This is a constant that is represented by a name
Kavungya answered the question on May 15, 2019 at 14:32


Next: Define a sequence control structure.
Previous: Describe constants in programming.

View More Computer Programming Questions and Answers | Return to Questions Index


Learn High School English on YouTube

Related Questions