struct place
{
char name[80+1];
double latitude;
double longitude;
};
struct node
{
struct place city;
struct node *next;
};
struct node *head;
head
head -> city
head -> next
head -> city -> name
head -> next ->city.name
These kinds of tasks always make me lose points on exams, anyone kind enough to explain? It's asking about what types the variables mentioned are, and I guess stuff like head
are simply a pointer towards the value of entire structure node
?