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

   struct student {
       int roll;
       float cgpa;
       char name[50];
   };
   
   int main() {
       struct student s1;
       s1.roll=24;
       s1.cgpa=78.9;
       strcpy(s1.name,"vanshika");
       
       printf("student roll:%d\n",s1.roll);
       printf("student cgpa:%f\n",s1.cgpa);
       printf("student name:%s\n",s1.name);
       
       return 0;
   }

Embed on website

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