Dot notation confusion


#1

The dot notation syntax for objects looks exactly like how you address the elements in a C-structure. How do you tell them apart?

p = [x fido];
p = x.fido;

float p;
struct *x = {float fido; float spot; };
p = x.fido;