I have an assignment question that says "Decide whether the syntax of the following statements is valid or invalid."
These are the statements:
a) listData->next = ptr1->next ;
b) listData->next = *(ptr2->next) ;
c) *listData = ptr2 ;
d) ptr2 = ptr1->next->info ;
e) ptr1->info = ptr2->info ;
f) ptr2 = ptr2->next->next ;
where next is the address of the next object, and info is the data.
I see no syntax errors... what don't I understand? :(