Concepts Of Programming Languages
Concepts Of Programming Languages
12th Edition
ISBN: 9780134997186
Author: Sebesta, Robert W.
Publisher: Pearson,
Question
Book Icon
Chapter 6, Problem 6RQ
Program Plan Intro

Enumeration Types:

  • An enumeration type is a user defined data type where all of the possible values named are provided in the definition itself.
  • Defining and grouping sets of name constants is the method defined by enumerations types, also called as enumeration constants.
  • It is mostly used in case statements and operations on pascal ordinals e.g includes ORD.

Blurred answer
Students have asked these similar questions
What are the design issues for enumeration types?
What are the advantages and disadvantages of user-defined ordinal types as data types? What are the advantages and disadvantages of an associative array?
Explain the items that define enumeration type.
Knowledge Booster
Background pattern image
Recommended textbooks for you
Text book image
EBK JAVA PROGRAMMING
Computer Science
ISBN:9781337671385
Author:FARRELL
Publisher:CENGAGE LEARNING - CONSIGNMENT
Text book image
New Perspectives on HTML5, CSS3, and JavaScript
Computer Science
ISBN:9781305503922
Author:Patrick M. Carey
Publisher:Cengage Learning