If a variable is a pointer to a structure, then which of the following operator is used to access data members of the structure through the pointer variable? * & . ->
Question
If a variable is a pointer to a structure, then which of the following operator is used to access data members of the structure through the pointer variable? *
&
.
->
Solution
The operator used to access data members of a structure through a pointer variable is "->".
Similar Questions
How do you access a member of a structure using a structure pointer in C?*1 pointWith the dot operator (.)With the arrow operator (->)With the ampersand (&)With the asterisk (*
Which operator is used to access data members of the outer structure?
The operator used to get value at address stored in a pointer variable isa.*b.&c.&&d.||
Which of the following statements about pointers is true?
What is the correct syntax for declaring a pointer variable?
Upgrade your grade with Knowee
Get personalized homework help. Review tough concepts in more detail, or go deeper into your topic by exploring other relevant questions.