STRUCTURE & UNION Structure Data Type A structure is a user defined data type that groups logically related data items of different data types into a single unit. All…