Suppose we have a struct called Employee, we have an object declared from the struct called emp, and we have a data member of the struct called salary. To access the salary data member of emp, we would use the code:

A. emp[salary]
B. Employee.emp[salary]
C. emp( salary )
D. emp.salary

D

Computer Science & Information Technology

You might also like to view...

A low memory _____________ setting will keep applications that try to utilize too much memory under control.

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

Computer Science & Information Technology

Microsoft Office programs work together to make it easy to copy an object in a source program and then insert it into a document in a different program, also called the ____ program.

A. destination B. goal C. alternative D. external

Computer Science & Information Technology