Getting student Detail Using Structure In C #include<stdio.h> #include<conio.h> void main() { int i,j,total=0; for(i=0;i<5;i++) { printf("enter the name"); scanf("%s"&s[i].name); printf("enter the roll no"); scanf("%d",&s[i].roll no); printf("enter the 5 subject marks"); for(j=0;j<5;j++) { scanf("%d",&s[i].marks[j]); for(i=0;i<5;i++) { printf("name is %s"s[i].name); printf("roll no is %d",s[i].roll no); total=0; for(j=0;j<s;j++) { total=total+s[i].marks[j]; } printf("marks is %d",s[i].marks[j]; { printf("total marks is %d",marks); } getch(); }