hello again,
In books that I have read, the way to declare a struct is as shown in (a)
However, I have seen code which is shown in (b)
a)
struct node{
int number;
};
and this
b)
struct {
int number;
}node;
note that 'node' is in front in (a) and 'node' is at the back in (b)
Are they the same? what's the purpose of declaring a struct as shown in (b)?
thanks