Possible Duplicate:
undefined C struct forward declaration
How is it possible to declare a pointer to structure even when I do not declare a structure?
#include<stdio.h>
int main(){
struct s{
struct p *ptr;
};
}
Why does the above compile successfully?