Question: what is the difference between dot operator and arrow operator in c?
Answer: They are two different operators. In C, the dot is the member-of-struct-or-union operator and the arrow is the member-of-struct-or-union-that's-being-pointed-to operator. ... However, arrow operator used to access member of a structure which pointed by some pointer to structure.