All books

Professional

Apps About Coach Log in Start reading

Computer Science · Glossary

What is Enumeration?

Also known as: enumeration (C)

Definition 6.4 University Computer Science — Year 1 · Chapter 6 — Strings, Structures and Files

An enumeration declares named integer constants: enum kind { CIRCLE, RECTANGLE }; makes CIRCLE 0 and RECTANGLE 1, and enum kind a type whose values are meant to be those names.

Read in context →