C program to display name and age