warning: âstruct ExprNodeâ declared inside parameter list
util.c:10: warning: its scope is only this definition or declaration, which is probably not what you want
I have something like this:
and struct ExprNode is on another file called tree.h and I have included that file in my .h file, but why this weird error? how to fix it?Code:void print(struct ExprNode *root, int nLevel){ ............ ........ }