Pearson eText for Concepts of Programming Languages -- Instant Access (Pearson+)
Pearson eText for Concepts of Programming Languages -- Instant Access (Pearson+)
12th Edition
ISBN: 9780135102268
Author: Robert Sebesta
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 options do you have for defining abstract data types in your programming language of choice?
Explain a real-life scenario where you use an array-like structure in C++. Describe how this structure helps you organize information or objects
Knowledge Booster
Background pattern image
Recommended textbooks for you
Text book image
New Perspectives on HTML5, CSS3, and JavaScript
Computer Science
ISBN:9781305503922
Author:Patrick M. Carey
Publisher:Cengage Learning