structure in c++ syntax code example
Example: c++ structure
struct product {
int weight;
double price;
} ;
product apple;
product banana, melon;
struct product {
int weight;
double price;
} ;
product apple;
product banana, melon;