Home / Questions / When to user -> (arrow) operator.
Explanatory Question

When to user -> (arrow) operator.

👁 853 Views
📘 Detailed Answer
🕒 Easy to Read
Read the answer carefully and go through the related questions on the right side to improve your understanding of this topic.

Answer with Explanation

If the structure/union variable is a pointer variable, to access structure/union elements the arrow operator is used.