1. The name of a structure is called the _________________
2. An advantage of structures over arrays is that structures allow one to use items of _________________ data types, whereas arrays do not .
3. One structure inside of another structure is an example of _________________
4. The variables declared inside the structure declaration are called the _______________ of the structure
5. When initializing structure members, if one structure member is left uninitialized, then all the structure members that follow must be _________________
6. A user defined data type is often an _________________
7. Once an array of structures has been defined, you can access an array element using its _________________
8. The _________________ allows the programmer to access structure members.
9. You may not initialize a structure member in the _________________
10. Like variables, structure members may be used as _________________ arguments
Answers
Explanation:
1.
The name of a structure is called the tag.
2.
item An advantage of structures over arrays is that structures allow one to use items of \emph{different} data types, whereas arrays do not.
3.
One structure inside of another structure is an example of nested
4.
The variables declared inside the structure declaration are called the
"members" or "fields" of the structure)
5.
When initializing structure members, if one structure member is left uninitialized, then all the structure members that follow must be be \emph{uninitialized}
6.
A user-defined data type (UDT) is a data type that derived from an existing data type. You can use UDTs to extend the built-in types already available and create your own customized data types.
7.
Once defined, you can access and set array data using an index: arr[0] = 0; But you can't increase the number of elements that the array can hold
8.
the dot operator allows the programmer to access structure members.
9.
We can't initialize because when we declared any structure than actually what we do, just inform compiler about their presence i.e no memory allocated for that and if we initialize member with no memory for that.
10.
Like variables, structure members may be used as function arguments.