[amp_mcq option1=”Name” option2=”Data type” option3=”Dot operator” option4=”Member name” correct=”option4″]
The correct answer is: D. Member name
A structure variable is a variable that can store multiple values of different data types. The values are stored in members of the structure. To refer to a member of a structure, you use the structure variable name followed by a dot (.) and the member name. For example, if you have a structure called student with members name and age, you can refer to the name member as student.name and the age member as student.age.
The other options are incorrect because:
- A. Name is the name of the structure variable.
- B. Data type is the type of data that the structure variable can store.
- C. Dot operator is used to access members of a structure.