#include<stdio.h>
#include<conio.h>
void main()
{
struct stud_res
{
int rollno;
char std[10];
struct stud_marks
{
char studentname[30];
int studmarks;
}marks;
}result;
clrscr ();
printf("\n Enter The Roll number");
scanf("\n %d",&result.rollno);
printf("\n Enter Standerd");
scanf("\n %s",&result.std);
printf("\n Enter subject Name");
scanf("\n %s",&result.marks.studentname);
printf("\n Enter The student marks");
scanf("\n %d", & result.marks.studmarks);
printf("\n Enter Student information is");
printf("\n Roll No is %d",result.rollno);
printf("\n Subject Name is %s", result.marks.studentname);
printf("\n student marks is %d",result.marks.studmarks);
getch();
}