Q : Write a program to input some record of student containing (Roll,Name,City , Marks of different subject) and print record of topper student?
Solution :
/* **************************************
Girfa : Student Help
Search Maximum obtain marks record from
structure
Programmer Name : Chandani Gupta
for more program visit :
http://girfahelp.blogspot.in/p/c-language-assignment.html
****************************************
*/
#include<stdio.h>
#include<conio.h>
struct stu
{
int roll;
char nm[20];
char city[30];
int marks[3];
};
void main()
{
struct stu ob[3];
int i,j,sum=0,tmp,index=0;
clrscr();