What is the advantage of structure over arrays ?
Group variables of similar type.
Have lot of memory space.
Group variables of different type
Easy to access
What is the syntax for accessing a structure member ?
Structvar::member name
Structvar.member name
Strvar;member name
Strvar::member name
What is the use of structure definition ?
It create structure variables.
It create structure tag.
It create structure definition.
It create structure member.
What is the alterantive name of data elements in structures ?
Objects
Members
Datas
None of the mentioned
What is the other name of declaration of structure ?
Structure creator
Structure signifier
Structure specifier
None of these
Which operator is used to access a structure member ?
. (dot) operator
= (assignment) operator
, (comma) operator
:: (scope) operator
Which is the most efficient method of dealing with structure variable ?
Define the structure globally.
Define the structure locally.
Define the structure externally.
None of the above
Which of the following can be a definition for structure ?
Literal
User defined variable
Pre defined variable
User defined data type
One way in which a structure differs from an array is that :
A structure may have members of more than one type.
A structure must have members that are all the same type.
An array may have members of more than one type.
There is no difference between a structure and an array.
What is the use of structures in C++ ?
Provides a way to bind data and function together.
Provides a way to group data elements.
Provides a way to break the data elements into functions.
Provides a way to allocate data elements.