Friday, 5 July 2013

c++ permits the use of anonymous structures | what is anonymous structures | anonymous structure

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;



           
     

0 comments:

Post a Comment