Hi! I'm getting some error on my function below:
The error message is:Code:Tree** getSibling(Tree** root, char* token) { return !strcmp(token, root -> token) ? &(root -> child) : getSibling(&(root -> sibling), token); }
How can I fix this? Thanks.Code:error: request for member ‘token’ in something not a structure or union error: request for member ‘child’ in something not a structure or union error: request for member ‘sibling’ in something not a structure or union