Defining a Structure and declaring its variables in C++:
Example: Initializing a Vehicle Structure.
struct vehicle {
char vehicle-type [];
char maker [];
char engine-no [];
char registration-no [];
unsigned int vehicle-price [];
int year-of-manufacture [];
}vahicle v1, v2, v3;
Thanks for updating about new updates
ReplyDeleteI will share these Awesome content to my official blog
New Jobs In Pakistan