yes , c++ permists Anonymous structure.
Anonymous structure means the structure that does not have any name. such a structure is created when it is not required at other places. this is shown in the following code.
struct
{
int i;
float f;
char ch;
}s;
Anonymous structure means the structure that does not have any name. such a structure is created when it is not required at other places. this is shown in the following code.
struct
{
int i;
float f;
char ch;
}s;

0 comments:
Post a Comment