Complete the code to declare a structure named Person.
struct [1] { char name[50]; int age; };
The structure name is Person as required.
Complete the code to create a variable of type Person.
struct Person [1];The variable name person is used to create a Person instance.
Fix the error in accessing the age member of the structure variable.
person.[1] = 25;
The member name is age exactly as declared in the structure.
Fill both blanks to initialize the name and age members of the structure variable.
strcpy(person.[1], "John"); person.[2] = 30;
The name member is a string, so we use strcpy to copy "John".
The age member is an integer and assigned 30.
Fill all three blanks to create a structure, declare a variable, and assign values.
struct [1] { char [2][50]; int age; }; struct Person [3];
The structure is named Person, the string member is name, and the variable declared is person1.
