Which operator is used in C to access a structure member through a pointer to the structure?
Correct answer D. ->
Explanation
The arrow operator -> accesses a member through a pointer, so p->age is shorthand for (*p).age. The dot operator is used with a structure variable itself.
Answer checked How we write and check questions
Discussion