#include #include #include struct record { char name[20]; int roll; }; struct record r,*p; void main() { p=&r; clrscr(); printf("\nEnter the name\n"); scanf("\n%s",&p->name); printf("\nEnter the roll no\n"); flushall(); scanf("%d",&p->roll); printf("\n%s",p->name); printf("\n%d",p->roll); }