Say that I have the following:
and I have declared a treenode called test, why can't I do this?Code:typedef enum {x,y,z} Type; typedef struct treeNode { ................. Type type; ................ } TreeNode;
fprintf(stderr, "type is %s!\n", test->type)
How can I do such thing? Is it possible?