Why can I only access a struct member through a pointer to said struct? I thought you were able to access a pointer's members via the dot notation?
Code:
person mark; person *ptr_mark; ptr_mark->age = 1; mark.age = 1; /** 'age' undeclared?
Comment