Answer the following statements true (T) or false (F)

1. A C++ structure, or struct, like the C++ array, is a homogeneous data structure. (i.e., all data is of the same type)
2. Structure definitions are usually global (defined outside any functions).
3. A structure member is access using the index operator [ ], with the member name as index. [ ]
4. A structure variable can be defined directly in the same statement that defines a structure definition.

5. The following definition of the structure variables of type myStruct s and t
could be made using several definitions using the structure tag.
```
struct myStruct
{
int i;
double d;
} s, t;
```

1. False
2. True
3. False
4. True
5. True

Computer Science & Information Technology

You might also like to view...

When the user clicks on the Macro icon drop-down arrow, there are three options available to the user. The ________ option will allow the user to create a new macro by opening the Macro Window

Fill in the blank(s) with correct word

Computer Science & Information Technology

Disk Management enables you to view the arrangement of hard drives on your computer but does not enable you to partition or format them

Indicate whether the statement is true or false

Computer Science & Information Technology