Vidyalelo
C++ Programming · Q17

Structures and Unions in C++

Programming · C++ Programming · question 17

Q17

What is the correct way to access structure members through a pointer in C++?

A.
Using the star operator (*)
B.
Using the double colon operator (::)
C.
Using the dot operator (.)
D.
Using the arrow operator (->)
Answer

Answer: Option D

Solution

Answer: Option D
No explanation is given for this question Let's Discuss on Board