Definition: A struct is type in C and C++ that can hold a group of variables in one variable.
In C++ a class is a struct with methods added to it.
Glossary:
A B C D E F G H I J K L M N O P Q R S T U V W X Y ZExamples:
The payroll program used a struct to hold employee name, company number, tax reference and salary details.

