Answer the question
In order to leave comments, you need to log in
What's the difference between. and -> when working with structures in C?
What's the difference between . and -> when working with structures in C?
Answer the question
In order to leave comments, you need to log in
In the first case, you have the structure itself, in the second case, you have a pointer to the structure.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question