The ->
operator is only syntactical sugar:
x->y
is the same as
(*x).y
The parentheses are necessary due to the .
operator having higher precedence than the *
operator.
The ->
operator is only syntactical sugar:
x->y
is the same as
(*x).y
The parentheses are necessary due to the .
operator having higher precedence than the *
operator.