include
struct profile
{
char name[10];
long int num;
char city[10];
char learn[10];
};
void main()
{
struct profile b;
clrscr();
printf(“Enter Your Name: \n”);
scanf(“%s”,&b.name);printf("Enter Your Phone Number: \n"); scanf("%d",&b.num); printf("Enter Your City Name: \n"); scanf("%s",&b.city); printf("Which programming language do you learn: \n"); scanf("%s",&b.learn); printf("This is Your Profile :- \n"); printf("Name : %s \n",b.name); printf("Phone Number : %d \n",b.num); printf("City Name : %s \n",b.city); printf("learn programming language : %s \n",b.learn); getch();
}