Structures Before discussing classes, this lesson will be an introduction to data structures similar to classes.
Structures are a way of storing many different variables of different types under the same name.
This makes it a more modular program, which is easier to modify because its design makes things more compact. It is also useful for databases. You can use database like a variable type like int. You can create an employee with the database type as I did above. You can also return structures from functions by defining their return type as a structure type.