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

Exomiser error " Exception in thread "main" java.lang.OutOfMemoryError: Java heap space "

How to Install R and RStudio on Ubuntu 16.04