A member of a structure or of a class is accessed using the

a. Comma operator
b. The dot operator
c. The indexing operator
d. The ampersand operator

b) the dot operator
Explanation: The member of a structures or classes are accessed by writing the tag followed by the dot operator which in turn is followed by the name of the member or a call to a member function.

Computer Science & Information Technology

You might also like to view...

A __________ system is designed to work in areas where electrical equipment is used. Instead of containing water, the system contains pressurized air.

A. wet-pipe B. dry-pipe C. deluge D. sprinkler

Computer Science & Information Technology

A text box and a digital image are both examples of objects.

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

Computer Science & Information Technology