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...

A(n) ________ is a collection of information that tells Windows 7 what files and folders the account holder can access, what changes the account holder can make to the computer system, and what the account holder's personal preferences are.

a. e-mail account b. user profile c. Outlook account d. user account

Computer Science & Information Technology

There are two types of macros: stand-alone macros and ________ macros.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

When setting the maximum number of times that Excel will recalculate, the smaller the value of change means the more precise the result and the more time that Excel needs to calculate a worksheet.

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

Computer Science & Information Technology

A(n) ____________________ is a program that runs on a computer and enables you to send, receive, and organize e-mail.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology