Q : Write a program which asks the user to enter the name and age of persons in his group. The numbers of persons is not known to the user in the beginning of the program. The user keeps on entering the data till the user enters the age as zero. The program finally prints the average
age.
Solution :
#include<stdio.h>
#include<conio.h>
typedef struct stu
{
char name[20];
int age;
struct stu * next;