It is not allowed to declare a variable of same structure type but it is allowed to declare a pointer. For example,
struct node {
int a;
struct node x; //not allowed
struct node *pnext; //allowed
};
My question is when we can declare a pointer of same type why not a variable of same type.
I will be exremely grateful if somebody answers my question.
Thanks
Iqbal