C

The C programming language.

C11 : Tying data to enums

Let’s say you’re making a C library that deals with fruits.Fruits have many "attributes" that could be tied to them.They could have a size, a color, and a weight,