Program to create , access structure
#include<stdio.h> #include<string.h> typedef struct Student { int roll; char name[50]; int m[3]; int tot; float avg; char grade; }std; void insertdata(std [],int); void dispdata(std [],int); void topper(std [],int); void topper_each_sub(std [],int); void arrang_by_name(std [],int); int main() { std s[50]; int m; printf("Enter the total number of students :"); scanf("%d",&m); printf("\nEnter the records for %d students",m); insertdata(s,m); printf("\nRecords of %d students : ",m); dispdata(s,m); printf("\nTopper in the department : "); topper(s,m); printf("\nTopper in each subjects : "); topper_each_sub(s,m); printf("\nStudent's record in ascending order of name : "); arrang_by_name(s,m); dispdata(s,m); return 0; } void insertdata(std p[],int k) { int i,j; for(i=0;i<k;i++) { printf("\nInsert records for student %d : ",i+1); printf(...