O
oo@@oo
Hello
What is the difference between these two struct definitions ?
-------------------------header.h
---------------------------------------
struct A{
int a;
int b;
struct B
{
int (*fp1)(void);
int (*fp2)(void);
} *pb;
};
and
------------------------- another header.h
---------------------------------------
struct B
{
int (*fp1)(void);
int (*fp2)(void);
} ;
struct A{
int a;
int b;
struct B *pb;
};
Thank you in advance.
What is the difference between these two struct definitions ?
-------------------------header.h
---------------------------------------
struct A{
int a;
int b;
struct B
{
int (*fp1)(void);
int (*fp2)(void);
} *pb;
};
and
------------------------- another header.h
---------------------------------------
struct B
{
int (*fp1)(void);
int (*fp2)(void);
} ;
struct A{
int a;
int b;
struct B *pb;
};
Thank you in advance.