C++ Structure

Structure is a entity that handle all different type of data type at the same time.

Syntax of Structure

struct name
char name;
float price;
int total;
struct name a1,a2,a3;

The value of a structure variable can be passed as a parameter to function.we can construct a structure with the help of modular program.


Follow Us

Contact Us


Back to Top