Structures
A Structure is a container, it can hold a bunch of variables. These variables can be of any type. It is a user defined data type used to group related data (i.e. variables) Each variable in a structure can have similar or different data type than other variables of that structure. Structures-Basic data types: char,…