Introduction to Structures

In this lesson, you will be introduced to the concept of structure.

We'll cover the following

What is structure?

Consider a blueprint used to construct a building. A blueprint is a guide that tells us what the basic architecture of the building is. For example, it will detail the number of floors, rooms, windows, etc. in the building.

We can use the same blueprint to construct multiple buildings, but each building will be different from others in properties. For example, if one building is of a white color, the other will be a red color.

Structure is just like a blueprint from which we can create a variable of our own data type.


The Structure is a user-defined data type that is used to store variables or arrays of different data types under a single name.


Get hands-on with 1200+ tech skills courses.