I am reading a book called \"Teach Yourself C in 21 Days\" (I have already learned Java and C# so I am moving at a much faster pace). I was reading the chapter on pointers a
foo->bar is equivalent to (*foo).bar, i.e. it gets the member called bar from the struct that foo points to.
foo->bar
(*foo).bar
bar
foo