A Query in "Pointers to Structures"



Hello everyone. I have a query. Lets say that following is given:-

struct struct1{
char *word;
int n;
} *p;


QUERIES:
What does the following refer to?

1) p->word
2) (*p)->n
3) (*p)->word
4) *(p->word)

.



Relevant Pages