// struct data types
#include <stdio.h>
struct student{
char name[20];
int rollno;
float marks;
} s1={"ABC",1,78.77};
int main() {
printf("Name = %s\nRollNo = %d\nMarks = %f",s1.name,s1.rollno,s1.marks);
return 0;
}
To embed this project on your website, copy the following code and paste it into your website's HTML: