Asked by Alfonso Belarmino on Mar 10, 2024
Verified
____ is equivalent to (*pointer) .member.
A) pointer.member
B) pointer>member
C) pointer->member
D) pointer@member
Equivalent
A term used to describe entities that have the same value or function in a given context.
Pointer->Member
Syntax used in C/C++ to access a member of a structure or a class through a pointer to that structure or class.
(*Pointer).Member
A way to access a member of a structure to which the pointer points, using the pointer dereference and member access operators.
- Apply structures with pointers to manipulate data directly.
Verified Answer
GM
Genevieve McClainMar 10, 2024
Final Answer :
C
Explanation :
The arrow operator (->) is used in C and C++ to access a member of a structure or a union through a pointer. It is equivalent to using the dereference operator (*) followed by the dot (.) operator to access a member, i.e., (*pointer).member is the same as pointer->member.
Learning Objectives
- Apply structures with pointers to manipulate data directly.