Enums and Structures
This lesson will teach how struct items can be a type of enum.
We'll cover the following
Structures can have an item that is of type enum
.
Syntax
The following illustration explains the syntax:
Create a free account to access the full course.
By signing up, you agree to Educative's Terms of Service and Privacy Policy