syntax of structure in c++ 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;