How is it that the structure pointer is declared with same name of the structure?
The following code,
Code:
struct devinfo{
int a;
int b;
};
struct devinfo *devinfo;
is perfectly legal in C. How is it that the structure pointer is declared with same name of the structure? Does it has a special meaning or significance? Any help will be appreciated.