Please help me to figure out a very basic confusion as follows,
struct node {
struct node *next; // no compile error
}
is ok, but the following gives an compile error(unknown type). I know it is wrong, but unable to figure out a clear reason.
struct node {
struct node next; // compile error, unknown type..why?
}