It creates a static pointer to nodeand initializes it to NULL.
A variable definition can have several values:
static struct node *first = NULL;
If defined outside the method, it gives an first internal binding . It can only be used inside the defining module.
But you can also find this line inside the method:
void foo()
{
static struct node *first = NULL;
}
- , . NULL , .