#include <stdio.h>
#include <string.h>

struct DOB{
    int a;
    int b;
    int c;
};
struct Faculty{
    char name[20];
    int id;
    char subject[100];
    char qualities[100];
    int age;
    struct DOB d1;
}s1;

int main(){
    struct Faculty s1={"Navjot Kaur",23838,"C programming","Pretty and Cute",16,{05,04,2007}};
    printf("Name = %s\nId= %d\nSubject = %s\nQualities = %s\nAge = %d\n",s1.name,s1.id,s1.subject,s1.qualities,s1.age);
    printf("%d/%d/%d",s1.d1.a,s1.d1.b,s1.d1.c);
    
}

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: