struct node {
int data1;
char data2;
struct node* link;
}; //self referential structure
***************************************
struct node {
int data1;
char data2;
} m;
int main ()
{
struct node * ptr;
return 0;
}
are both pointer ptr & link will do same work every where?
All I need to ask is difference between self referential structure and Pointer to Structure ?