✏️ Explanatory Question

What are enumerated types?

👁 777 Views
📘 Detailed Answer
💡

Answer with Explanation

Enumerated types allow the programmer to use more meaningful words as values to a variable. Each item in the enumerated type variable is actually associated with a numeric code. For example, one can create an enumerated type variable named DAYS whose values are Monday, Tuesday