#include <stdio.h>
int main() 
{
struct DOB
{
    int day;
    int month;
    int year;
};
struct student
{
    int roll_no;
    char name[100];
    float fees;
    struct DOB date;
};
struct student 
    printf("\n enter the name roll number\n, name\n,fees\n");
    printf("%d%s%f",&stud1.roll.,&stud1.name,&stud.fees);
    printf("enter DOB\n");
    scanf("%d%s%f",&studl.date.day,&stud1.date.month,&stud1.date.year);
    printf("student detalis");
    printf("roll number:%d",stud1.roll.no);
    printf("name:%s",stud1.name);
    printf("fees:%f",stud1.fees);
    printf("DOB:%d%d%d",stud1.date.day,stud1.date.month,stud1.date.year);
    return 0;
}

Embed on website

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