What is an enum in programming?
An enum in programming is a data type that consists of a set of named values. It is used to represent a fixed number of possible values within a program.