1.

What is called anonymous structure? Give an example.

Answer»

A structure without a name/tag is called anonymous structure.

Example:

struct

{

long rollno; 

int age;

float weight;

};

The student can be referred as reference name to the above structure and the elements can be accessed like student.rollno, student.age and student.weight.



Discussion

No Comment Found