Skip to content
doubtly

1 answer

Best answer

Structure written inside another structure is called as nesting of two structures. Nested Structures are allowed in C Programming Language. We can write one Structure inside another structure as member of another structure 

Example syntax 

struct date
{
int date;
int month;
int year; 
};

struct Employee
   {
char ename[20];
int ssn;
float salary;
struct date doj;
};
Doubtly · 28 May 2022 Report
Was this answer helpful?

Your answer

Log in or create a free account to answer this question.