too many types in declaration error in c

You have to put ; behind the struct declaration:
 
struct tnode
{
    int data;

    struct tnode * left;
    struct tnode * right;
}; // <-- here

Comments

Popular posts from this blog