Structure is a collection of variables of different data types under a single name. The elements defined in the structure are data members of a different type and length. Structure is more like classes since they store members of different types. Then why do we need structure when it is like classes. The difference between classes and structure is that in class the accessibility of data members is private whereas in structure they are public. This property is called default accessibility of member variables. And the method of accessing the data members is also different in both of them.
A structure __ contains members of the same data types.
Answer of that question is affirmative. A structure can contain members of the same data types. Although by definition it is not clear if we can store members of the same data types in a structure but in practical we can store members of same data types.
Structure is a lot similar to class. Definition of structure says we can store members of different types but we can store the similar one since structure is created due to the accessibility of member variables and the method of accessing the data members. As I told you the difference between classes and structure. So it must be clear that there is another reason for using and creating structure.
Hope this helps.