Google News
logo
C-Language - Interview Questions
When is the arrow operator used?
Arrow operator is used to accessing elements in structure and union. It is used with a pointer variable. Arrow operator is formed by using a minus sign followed by a greater than a symbol.
 
Syntax :
(pointer_name)->(variable_name)
Advertisement